projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to make the test suite work with Windows executables.
[tinc]
/
src
/
xalloc.h
diff --git
a/src/xalloc.h
b/src/xalloc.h
index
d9877a8
..
34f02d0
100644
(file)
--- a/
src/xalloc.h
+++ b/
src/xalloc.h
@@
-53,7
+53,7
@@
static inline void *xrealloc(void *p, size_t n) {
return p;
}
return p;
}
-static inline char *xstrdup(const char *s) __attribute__((__malloc__
,
__nonnull__));
+static inline char *xstrdup(const char *s) __attribute__((__malloc__
)) __attribute((
__nonnull__));
static inline char *xstrdup(const char *s) {
char *p = strdup(s);
static inline char *xstrdup(const char *s) {
char *p = strdup(s);