mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 13:19:01 +00:00
Add some missing noreturn and format attributes.
This commit is contained in:
@@ -75,9 +75,13 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
void fatal(char *fmt, ...) __attribute__((noreturn));
|
||||
void fatal(char *fmt, ...)
|
||||
__attribute__ ((noreturn))
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
void pfatal(char *fmt, ...) __attribute__((noreturn));
|
||||
void pfatal(char *fmt, ...)
|
||||
__attribute__ ((noreturn))
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
void gh_perror(char *err, ...);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user