diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-06-07 07:33:50 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-06-07 07:33:50 +0000 |
commit | 346f6578036c467b8fc42727a0da4b762de1bb6c (patch) | |
tree | 4cdd15a739898c363ae2ffd827c4db7208f2bb20 /net | |
parent | Respect CFLAGS (diff) |
Tag the libnet_error() function with __printflike()
Diffstat (limited to 'net')
-rw-r--r-- | net/libnet/files/patch-ac | 11 | ||||
-rw-r--r-- | net/libnet10/files/patch-ac | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net/libnet/files/patch-ac b/net/libnet/files/patch-ac new file mode 100644 index 000000000000..f46b75aa79ca --- /dev/null +++ b/net/libnet/files/patch-ac @@ -0,0 +1,11 @@ +--- include/libnet/libnet-functions.h.orig Fri Jun 7 00:31:29 2002 ++++ include/libnet/libnet-functions.h Fri Jun 7 00:31:41 2002 +@@ -74,7 +74,7 @@ + int, /* severity */ + char *, /* error message */ + ... /* varargs */ +- ); ++ ) __printflike(2, 3); + + + /* diff --git a/net/libnet10/files/patch-ac b/net/libnet10/files/patch-ac new file mode 100644 index 000000000000..f46b75aa79ca --- /dev/null +++ b/net/libnet10/files/patch-ac @@ -0,0 +1,11 @@ +--- include/libnet/libnet-functions.h.orig Fri Jun 7 00:31:29 2002 ++++ include/libnet/libnet-functions.h Fri Jun 7 00:31:41 2002 +@@ -74,7 +74,7 @@ + int, /* severity */ + char *, /* error message */ + ... /* varargs */ +- ); ++ ) __printflike(2, 3); + + + /* |