X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fxalloc.h;h=2b217e8bdd34eaa89b93e04d9e8df60b5ea7ef53;hb=a0fbaf0889fda3788943baec80671ecc870a2925;hp=c8cfbebfb1bae47c921ff0207e0e19e06c543e19;hpb=d93d4f9dbd09bc5e53a9b5eeb1cc94939fee32bc;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];