From: Michael Brown Date: Wed, 5 Apr 2006 11:44:05 +0000 (+0000) Subject: Make pcap_inject non-static, so that its prototype doesn't conflict with X-Git-Tag: fredrik-command-line-merge-1~276 X-Git-Url: http://git.etherboot.org/people/xl0/gpxe.git/commitdiff_plain/9ea782d33999512dcf8a212c77a6e3081cd33c30?hp=c8a7133e9f7b5fcbedbcdf0a451010b7cd86eed8 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. --- 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 );