From 9ea782d33999512dcf8a212c77a6e3081cd33c30 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 5 Apr 2006 11:44:05 +0000 Subject: [PATCH] Make pcap_inject non-static, so that its prototype doesn't conflict with the real pcap_inject in the case where we do have it. --- src/util/hijack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/hijack.c b/src/util/hijack.c index f504e4fe..ed89592b 100644 --- a/src/util/hijack.c +++ b/src/util/hijack.c @@ -59,7 +59,7 @@ static void flag_signalled ( int signal __attribute__ (( unused )) ) { * have it. Will almost certainly only work under Linux. * */ -static int pcap_inject ( pcap_t *pcap, const void *data, size_t len ) { +int pcap_inject ( pcap_t *pcap, const void *data, size_t len ) { int fd; char *errbuf = pcap_geterr ( pcap );