mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
bug fixing
This commit is contained in:
parent
b3923483ea
commit
87e4e19e02
20 changed files with 233 additions and 164 deletions
|
|
@ -126,6 +126,10 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void fatal(const char *fmt, ...)
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
void error(const char *fmt, ...)
|
||||
|
|
@ -134,5 +138,10 @@ void pfatal(const char *err, ...)
|
|||
__attribute__ ((format (printf, 1, 2)));
|
||||
void gh_perror(const char *err, ...)
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* NMAP_ERROR_H */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue