aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-07-03 00:27:15 -0700
committerGuy Harris <gharris@sonic.net>2020-07-03 00:27:15 -0700
commitbb04dd63b2f647244991ffeef6d8d14cae69b36f (patch)
tree48ab24083464688a9911b31500d1b419ada8c523
parentbd9be1938a2ffc79370768867d44aabc05c4655f (diff)
See if this fixes the link error.
[skip ci]
-rw-r--r--pcap-npf.c4
-rw-r--r--savefile.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/pcap-npf.c b/pcap-npf.c
index a7222945..e6b2580c 100644
--- a/pcap-npf.c
+++ b/pcap-npf.c
@@ -44,8 +44,8 @@
* ASSIGNMENT OF A POINTER TO CONST CHAR VALUE TO A POINTER TO CHAR
* VARIABLE.
*/
-extern LPCSTR PacketGetLPCSTR(void);
-extern const char *PacketGetConstCharStar(void);
+LPCSTR PacketGetLPCSTR(void);
+const char *PacketGetConstCharStar(void);
#include <pcap-int.h>
#include <pcap/dlt.h>
diff --git a/savefile.c b/savefile.c
index 562a60fc..e4d68134 100644
--- a/savefile.c
+++ b/savefile.c
@@ -91,8 +91,8 @@ static pcap_t *pcap_fopen_offline_with_tstamp_precision(FILE *, u_int, char *);
* ASSIGNMENT OF A POINTER TO CONST CHAR VALUE TO A POINTER TO CHAR
* VARIABLE.
*/
-extern LPCSTR PacketGetLPCSTR(void);
-extern const char *PacketGetConstCharStar(void);
+LPCSTR PacketGetLPCSTR(void);
+const char *PacketGetConstCharStar(void);
LPCSTR
PacketGetLPCSTR(void)