1 apture-pcap-util.c:399: error: static declaration of 'pcap_datalink_name_to_val' follows non-static declaration
2 /usr/include/pcap/pcap.h:313: note: previous declaration of 'pcap_datalink_name_to_val' was here
3 capture-pcap-util.c:414: error: static declaration of 'pcap_datalink_val_to_name' follows non-static declaration
4 /usr/include/pcap/pcap.h:314: note: previous declaration of 'pcap_datalink_val_to_name' was here
6 --- wireshark-1.2.0/capture-pcap-util.c~ 2009-06-16 06:04:01.000000000 +0200
7 +++ wireshark-1.2.0/capture-pcap-util.c 2009-06-23 01:28:10.162762368 +0200
11 #if !defined(HAVE_PCAP_DATALINK_NAME_TO_VAL)
14 pcap_datalink_name_to_val(const char *name)
18 #endif /* defined(HAVE_PCAP_DATALINK_NAME_TO_VAL) */
20 #if !defined(HAVE_PCAP_DATALINK_VAL_TO_NAME)
23 pcap_datalink_val_to_name(int dlt)