From 346f6578036c467b8fc42727a0da4b762de1bb6c Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Fri, 7 Jun 2002 07:33:50 +0000 Subject: [PATCH] Tag the libnet_error() function with __printflike() --- net/libnet/files/patch-ac | 11 +++++++++++ net/libnet10/files/patch-ac | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 net/libnet/files/patch-ac create mode 100644 net/libnet10/files/patch-ac 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); + + + /*