Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation failure.
authoragiersch <agiersch@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 15 Nov 2010 10:39:35 +0000 (10:39 +0000)
committeragiersch <agiersch@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 15 Nov 2010 10:39:35 +0000 (10:39 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8546 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Transport/transport_plugin_file.c
src/gras/Transport/transport_plugin_sg.c

index 4139999..b974a89 100644 (file)
@@ -49,10 +49,10 @@ static int gras_trp_file_my_port(gras_socket_t s) {
 static int gras_trp_file_peer_port(gras_socket_t s) {
   THROW_UNIMPLEMENTED;
 }
 static int gras_trp_file_peer_port(gras_socket_t s) {
   THROW_UNIMPLEMENTED;
 }
-static char* gras_trp_file_peer_name(gras_socket_t s) {
+static const char* gras_trp_file_peer_name(gras_socket_t s) {
   THROW_UNIMPLEMENTED;
 }
   THROW_UNIMPLEMENTED;
 }
-static char* gras_trp_file_peer_proc(gras_socket_t s) {
+static const char* gras_trp_file_peer_proc(gras_socket_t s) {
   THROW_UNIMPLEMENTED;
 }
 static void gras_trp_file_peer_proc_set(gras_socket_t s,char *name) {
   THROW_UNIMPLEMENTED;
 }
 static void gras_trp_file_peer_proc_set(gras_socket_t s,char *name) {
index 57c12c3..911ae8b 100644 (file)
@@ -301,7 +301,6 @@ void gras_trp_sg_chunk_send_raw(gras_socket_t sock,
   gras_trp_procdata_t trp_remote_proc;
   gras_msg_procdata_t msg_remote_proc;
   gras_msg_t msg;               /* message to send */
   gras_trp_procdata_t trp_remote_proc;
   gras_msg_procdata_t msg_remote_proc;
   gras_msg_t msg;               /* message to send */
-#endif
 
   gras_trp_sg_sock_data_t sock_data = (gras_trp_sg_sock_data_t) sock->data;
   xbt_assert0(sock->meas,
 
   gras_trp_sg_sock_data_t sock_data = (gras_trp_sg_sock_data_t) sock->data;
   xbt_assert0(sock->meas,
@@ -317,6 +316,7 @@ void gras_trp_sg_chunk_send_raw(gras_socket_t sock,
     smx_host_t remote_host = SIMIX_process_get_host(remote_dude);
   }
   //SIMIX_network_send(sock_data->rdv,size,1,-1,NULL,0,NULL,NULL);
     smx_host_t remote_host = SIMIX_process_get_host(remote_dude);
   }
   //SIMIX_network_send(sock_data->rdv,size,1,-1,NULL,0,NULL,NULL);
+#endif
   THROW_UNIMPLEMENTED;
 }
 
   THROW_UNIMPLEMENTED;
 }