Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetic on the API
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 8 Aug 2004 04:36:38 +0000 (04:36 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 8 Aug 2004 04:36:38 +0000 (04:36 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@367 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Transport/transport_plugin_file.c

index fd17106..3fc5f57 100644 (file)
@@ -24,7 +24,7 @@ GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(trp_file,transport);
 void         gras_trp_file_close(gras_socket_t *sd);
   
 gras_error_t gras_trp_file_chunk_send(gras_socket_t *sd,
 void         gras_trp_file_close(gras_socket_t *sd);
   
 gras_error_t gras_trp_file_chunk_send(gras_socket_t *sd,
-                                     char *data,
+                                     const char *data,
                                      long int size);
 
 gras_error_t gras_trp_file_chunk_recv(gras_socket_t *sd,
                                      long int size);
 
 gras_error_t gras_trp_file_chunk_recv(gras_socket_t *sd,
@@ -185,7 +185,7 @@ void gras_trp_file_close(gras_socket_t *sock){
  */
 gras_error_t 
 gras_trp_file_chunk_send(gras_socket_t *sock,
  */
 gras_error_t 
 gras_trp_file_chunk_send(gras_socket_t *sock,
-                        char *data,
+                        const char *data,
                         long int size) {
   
   gras_assert0(sock->outgoing, "Cannot write on client file socket");
                         long int size) {
   
   gras_assert0(sock->outgoing, "Cannot write on client file socket");