X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fxalloc.h;h=34f02d0ec1dd0ac7f20b0eba649c8c7820c358f7;hb=5f76bc06fba1d4ab1cfa460fff5c2695e21cabae;hp=d9877a8b08a37be1b56dcb22f513e495894146c1;hpb=b0ffeb7eeb21920842382c302ca15ec0d758e9b6;p=tinc diff --git a/src/xalloc.h b/src/xalloc.h index d9877a8b..34f02d0e 100644 --- a/src/xalloc.h +++ b/src/xalloc.h @@ -53,7 +53,7 @@ static inline void *xrealloc(void *p, size_t n) { 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);