2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-23 01:51:58 +00:00

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.
This commit is contained in:
Michael Brown 2006-04-05 11:44:05 +00:00
parent c8a7133e9f
commit 9ea782d339

View File

@ -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 );