Use __printf0like for warning() and fatal() since the fmt string

may be NULL.
This commit is contained in:
Todd C. Miller
2013-08-15 12:58:24 -06:00
parent e5f0e1f752
commit 4928c8c72e
2 changed files with 5 additions and 2 deletions

View File

@@ -51,6 +51,9 @@
# define __printflike(f, v)
# endif
#endif
#ifndef __printf0like
# define __printf0like __printflike
#endif
/* Hint to compiler that returned pointer is unique (malloc but not realloc). */
#ifndef __malloc_like