1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 05:09:14 +00:00

Define a NORETURN macro

This commit is contained in:
dmiller
2014-11-17 13:25:32 +00:00
parent 07bb3c4439
commit 85bb2d388d
6 changed files with 29 additions and 34 deletions

View File

@@ -168,11 +168,7 @@ do { \
void die(char *);
#ifdef WIN32
__declspec(noreturn)
#endif
void bye(const char *, ...)
__attribute__ ((noreturn))
NORETURN void bye(const char *, ...)
__attribute__ ((format (printf, 1, 2)));
/* zero out some memory, bzero() is deprecated */