X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fxalloc.h;h=34f02d0ec1dd0ac7f20b0eba649c8c7820c358f7;hb=refs%2Fheads%2F1.1;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];