projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use hardening option to add only hardening flags
[tinc]
/
src
/
xalloc.h
diff --git
a/src/xalloc.h
b/src/xalloc.h
index
c8cfbeb
..
2b217e8
100644
(file)
--- a/
src/xalloc.h
+++ b/
src/xalloc.h
@@
-68,6
+68,7
@@
static inline char *xstrdup(const char *s) {
return p;
}
+static inline int xvasprintf(char **strp, const char *fmt, va_list ap) ATTR_FORMAT(printf, 2, 0);
static inline int xvasprintf(char **strp, const char *fmt, va_list ap) {
#ifdef HAVE_WINDOWS
char buf[1024];