From: mquinson Date: Mon, 30 May 2005 15:53:51 +0000 (+0000) Subject: Tell explicitly gcc that hexa_print returns void X-Git-Tag: v3.3~4052 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f5e363e6dba846da390b665e0e4caa7ee90b2786 Tell explicitly gcc that hexa_print returns void git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1303 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/Transport/transport_plugin_sg.c b/src/gras/Transport/transport_plugin_sg.c index 7b0425d269..41351dc838 100644 --- a/src/gras/Transport/transport_plugin_sg.c +++ b/src/gras/Transport/transport_plugin_sg.c @@ -22,7 +22,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(trp_sg,transport,"SimGrid pseudo-transport"); /*** *** 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, diff --git a/src/gras/gras.c b/src/gras/gras.c index b920bb0446..f2009c8ecc 100644 --- a/src/gras/gras.c +++ b/src/gras/gras.c @@ -63,7 +63,7 @@ void gras_exit(void) { 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