X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fxalloc.h;h=2b217e8bdd34eaa89b93e04d9e8df60b5ea7ef53;hb=c45a3fd7319d03bd147448a017f5aaed3b46fdfe;hp=c8cfbebfb1bae47c921ff0207e0e19e06c543e19;hpb=c44b08613508c993e7fd9f625e0b1b4775efffed;p=tinc diff --git a/src/xalloc.h b/src/xalloc.h index c8cfbebf..2b217e8b 100644 --- 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];