mirror of
https://github.com/nmap/nmap.git
synced 2026-02-02 11:39:03 +00:00
Fix Nsock's make check: wrong value tested
This commit is contained in:
@@ -74,18 +74,13 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define NORETURN __attribute__((noreturn))
|
||||
#elif defined(_MSC_VER)
|
||||
#define NORETURN __declspec((noreturn))
|
||||
#else
|
||||
#define NORETURN
|
||||
#endif
|
||||
|
||||
NORETURN void fatal(char *fmt, ...)
|
||||
void fatal(char *fmt, ...)
|
||||
__attribute__ ((noreturn))
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
NORETURN void pfatal(char *fmt, ...)
|
||||
void pfatal(char *fmt, ...)
|
||||
__attribute__ ((noreturn))
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
#endif /* ERROR_H */
|
||||
|
||||
Reference in New Issue
Block a user