Tag the libnet_error() function with __printflike()

This commit is contained in:
Kris Kennaway 2002-06-07 07:33:50 +00:00
parent 6b5a17e1b4
commit 346f657803
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60753
2 changed files with 22 additions and 0 deletions

11
net/libnet/files/patch-ac Normal file
View File

@ -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);
/*

View File

@ -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);
/*