From b1cea2b21e4a87c8fefbf5d44e9226ebe83ce37f Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 7 Feb 2007 16:08:18 +0000 Subject: [PATCH] typo in windows DLL cruft git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3103 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/dict.h | 4 ++-- include/xbt/sysdep.h | 6 +++--- src/gras/Virtu/virtu_interface.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/xbt/dict.h b/include/xbt/dict.h index 6f9c0763e8..dd4de16526 100644 --- a/include/xbt/dict.h +++ b/include/xbt/dict.h @@ -79,8 +79,8 @@ SG_BEGIN_DECL() const char *key, int key_len, void *data, void_f_pvoid_t *free_ctn); - XBT_PUBLIC(void) *xbt_dict_get_ext(xbt_dict_t dict, const char *key, int key_len); - XBT_PUBLIC(void) xbt_dict_remove_ext(xbt_dict_t dict, const char *key, int key_len); + XBT_PUBLIC(void*) xbt_dict_get_ext(xbt_dict_t dict, const char *key, int key_len); + XBT_PUBLIC(void) xbt_dict_remove_ext(xbt_dict_t dict, const char *key, int key_len); /** @} */ diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index a83db8d78f..f8b282d501 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -22,9 +22,9 @@ SG_BEGIN_DECL() /* FIXME: better place? */ -int asprintf (char **ptr, const char *fmt, /*args*/ ...) _XBT_GNUC_PRINTF(2,3); -int vasprintf (char **ptr, const char *fmt, va_list ap); -XBT_PUBLIC(char) *bprintf (const char*fmt, ...) _XBT_GNUC_PRINTF(1,2); +XBT_PUBLIC(int) asprintf (char **ptr, const char *fmt, /*args*/ ...) _XBT_GNUC_PRINTF(2,3); +XBT_PUBLIC(int) vasprintf (char **ptr, const char *fmt, va_list ap); +XBT_PUBLIC(char*) bprintf (const char*fmt, ...) _XBT_GNUC_PRINTF(1,2); /* They live in asserts.h, but need to be declared before this module. double declaration to cut dependency cycle */ diff --git a/src/gras/Virtu/virtu_interface.h b/src/gras/Virtu/virtu_interface.h index cdf3637ccd..e0a3fb16f5 100644 --- a/src/gras/Virtu/virtu_interface.h +++ b/src/gras/Virtu/virtu_interface.h @@ -31,7 +31,7 @@ XBT_PUBLIC(void) gras_moddata_leave(void); (used by gras__register to make sure that gras_process_init will create it) */ XBT_PUBLIC(int) gras_procdata_add(const char *name, pvoid_f_void_t creator,void_f_pvoid_t destructor); -XBT_PUBLIC(void) *gras_libdata_by_name(const char *name); -XBT_PUBLIC(void) *gras_libdata_by_id(int id); +XBT_PUBLIC(void*) gras_libdata_by_name(const char *name); +XBT_PUBLIC(void*) gras_libdata_by_id(int id); #endif /* GRAS_VIRTU_INTERFACE_H */ -- 2.20.1