A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename BEGIN_DECL since we changed the usual definition to a macro with arguments...
[simgrid.git]
/
include
/
xbt
/
sysdep.h
diff --git
a/include/xbt/sysdep.h
b/include/xbt/sysdep.h
index
b917978
..
2c7c194
100644
(file)
--- a/
include/xbt/sysdep.h
+++ b/
include/xbt/sysdep.h
@@
-14,11
+14,13
@@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#include <stdarg.h> /* va_list */
#include "xbt/misc.h"
#include "xbt/misc.h"
-#include "xbt/
error
.h"
+#include "xbt/
asserts
.h"
-BEGIN_DECL()
+SG_BEGIN_DECL()
+
/** @addtogroup XBT_syscall
* @{
*/
/** @addtogroup XBT_syscall
* @{
*/
@@
-94,8
+96,8
@@
static inline void *xbt_realloc(void*p,int s){
/* FIXME: better place? */
int vasprintf (char **ptr, const char *fmt, va_list ap);
/* FIXME: better place? */
int vasprintf (char **ptr, const char *fmt, va_list ap);
-char *bprintf(const char*fmt, ...);
-
-END_DECL()
+char *bprintf(const char*fmt, ...)
_XBT_GNUC_PRINTF(1,2)
;
+
+
SG_
END_DECL()
#endif /* _XBT_SYSDEP_H */
#endif /* _XBT_SYSDEP_H */