aboutsummaryrefslogtreecommitdiffstats
path: root/net/libnet/files
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-06-07 15:33:50 +0800
committerkris <kris@FreeBSD.org>2002-06-07 15:33:50 +0800
commitc38047bd0c79df25fee117c49093ee6bc9591537 (patch)
tree6f09e97e7df553dfb6a789c1bcfd6af3f9cb57e6 /net/libnet/files
parent8128bc0430b0a1e1a797a83fc48c282b16180a64 (diff)
downloadfreebsd-ports-gnome-c38047bd0c79df25fee117c49093ee6bc9591537.tar.gz
freebsd-ports-gnome-c38047bd0c79df25fee117c49093ee6bc9591537.tar.zst
freebsd-ports-gnome-c38047bd0c79df25fee117c49093ee6bc9591537.zip
Tag the libnet_error() function with __printflike()
Diffstat (limited to 'net/libnet/files')
-rw-r--r--net/libnet/files/patch-ac11
1 files changed, 11 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);
+
+
+ /*