1
0
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:
dmiller
2014-11-17 13:25:35 +00:00
parent 85bb2d388d
commit 2b9fade75b
9 changed files with 6 additions and 77 deletions

View File

@@ -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 */