Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tell explicitly gcc that hexa_print returns void
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 30 May 2005 15:53:51 +0000 (15:53 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 30 May 2005 15:53:51 +0000 (15:53 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1303 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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

index 7b0425d..41351dc 100644 (file)
@@ -22,7 +22,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(trp_sg,transport,"SimGrid pseudo-transport");
 /***
  *** Prototypes 
  ***/
 /***
  *** Prototypes 
  ***/
-hexa_print(unsigned char *data, int size);   /* in gras.c */
+void hexa_print(unsigned char *data, int size);   /* in gras.c */
 
 /* retrieve the port record associated to a numerical port on an host */
 static xbt_error_t find_port(gras_hostdata_t *hd, int port,
 
 /* retrieve the port record associated to a numerical port on an host */
 static xbt_error_t find_port(gras_hostdata_t *hd, int port,
index b920bb0..f2009c8 100644 (file)
@@ -63,7 +63,7 @@ void gras_exit(void) {
   xbt_exit();
 }
 
   xbt_exit();
 }
 
-hexa_print(const char*name, unsigned char *data, int size) {
+void hexa_print(const char*name, unsigned char *data, int size) {
    int i;
    printf("%s: ", name);
    for (i=0;i<size;i++)  {
    int i;
    printf("%s: ", name);
    for (i=0;i<size;i++)  {