1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 04:09:01 +00:00

Add some missing noreturn and format attributes.

This commit is contained in:
david
2013-02-22 00:45:55 +00:00
parent 658b8648c6
commit 129d804d15
2 changed files with 9 additions and 3 deletions

View File

@@ -98,7 +98,9 @@
#include "nbase.h"
#include <stdio.h>
static void fatal(char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
static void fatal(char *fmt, ...)
__attribute__ ((noreturn))
__attribute__ ((format (printf, 1, 2)));
static void fatal(char *fmt, ...) {
va_list ap;