]> The Tcpdump Group git mirrors - tcpdump/commitdiff
get rid of "no previous prototype" warnings for 'strlcat' and 'strlcpy'
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 1 Apr 2014 15:14:28 +0000 (17:14 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 1 Apr 2014 15:14:28 +0000 (17:14 +0200)
missing/strlcat.c
missing/strlcpy.c

index 41cb5b483174bc50d8f69b2f09f907abd04a66f4..34f1af2d9628168a9669257eb085b052a3f1a1a1 100644 (file)
@@ -36,6 +36,8 @@
 
 #include <string.h>
 
+#include "interface.h"
+
 /*
  * Appends src to string dst of size siz (unlike strncat, siz is the
  * full size of dst, not space left).  At most siz-1 characters
index 5f3f31e955d850f1175fc8c3abd4f13909a9a5f8..b0671ebd311b648e160dc5e4293879e39ee58b13 100644 (file)
@@ -36,6 +36,8 @@
 
 #include <string.h>
 
+#include "interface.h"
+
 /*
  * Copy src to string dst of size siz.  At most siz-1 characters
  * will be copied.  Always NUL terminates (unless siz == 0).