Tag the libnet_error() function with __printflike()
This commit is contained in:
parent
6b5a17e1b4
commit
346f657803
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60753
11
net/libnet/files/patch-ac
Normal file
11
net/libnet/files/patch-ac
Normal 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);
|
||||
|
||||
|
||||
/*
|
11
net/libnet10/files/patch-ac
Normal file
11
net/libnet10/files/patch-ac
Normal 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);
|
||||
|
||||
|
||||
/*
|
Loading…
Reference in New Issue
Block a user