mirror of
				https://github.com/xcat2/xNBA.git
				synced 2025-10-31 11:22:29 +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:
		| @@ -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 ); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user