]>
Commit | Line | Data |
---|---|---|
40fc7f30 AG |
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 | |
5 | ||
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 | |
8 | @@ -395,7 +395,7 @@ | |
9 | }; | |
10 | ||
11 | #if !defined(HAVE_PCAP_DATALINK_NAME_TO_VAL) | |
12 | -static int | |
13 | +int | |
14 | pcap_datalink_name_to_val(const char *name) | |
15 | { | |
16 | int i; | |
17 | @@ -410,7 +410,7 @@ | |
18 | #endif /* defined(HAVE_PCAP_DATALINK_NAME_TO_VAL) */ | |
19 | ||
20 | #if !defined(HAVE_PCAP_DATALINK_VAL_TO_NAME) | |
21 | -static const char * | |
22 | +const char * | |
23 | pcap_datalink_val_to_name(int dlt) | |
24 | { | |
25 | int i; |