summaryrefslogtreecommitdiff
path: root/net/libnet10
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-06-07 07:33:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-06-07 07:33:50 +0000
commit346f6578036c467b8fc42727a0da4b762de1bb6c (patch)
tree4cdd15a739898c363ae2ffd827c4db7208f2bb20 /net/libnet10
parentRespect CFLAGS (diff)
Tag the libnet_error() function with __printflike()
Notes
Notes: svn path=/head/; revision=60753
Diffstat (limited to 'net/libnet10')
-rw-r--r--net/libnet10/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
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);
+
+
+ /*