diff options
author | Michael Brown <mcb30@etherboot.org> | 2006-04-05 11:44:05 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2006-04-05 11:44:05 +0000 |
commit | 9ea782d33999512dcf8a212c77a6e3081cd33c30 (patch) | |
tree | a226394734e0e146631c04072ae24f58551dc707 /src/util | |
parent | c8a7133e9f7b5fcbedbcdf0a451010b7cd86eed8 (diff) | |
download | ipxe-9ea782d33999512dcf8a212c77a6e3081cd33c30.tar.gz |
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.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/hijack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/hijack.c b/src/util/hijack.c index f504e4fe4..ed89592b1 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 ); |