From 40fc7f30d0cc9e260c285694bb1a7d49c7689ce3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Tue, 23 Jun 2009 20:48:55 +0000 Subject: [PATCH] - new (fixe; "static declaratiosn of .... follows non-static declarationration" Changed files: wireshark-gcc43.patch -> 1.1 --- wireshark-gcc43.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 wireshark-gcc43.patch diff --git a/wireshark-gcc43.patch b/wireshark-gcc43.patch new file mode 100644 index 0000000..7458f82 --- /dev/null +++ b/wireshark-gcc43.patch @@ -0,0 +1,25 @@ +apture-pcap-util.c:399: error: static declaration of 'pcap_datalink_name_to_val' follows non-static declaration +/usr/include/pcap/pcap.h:313: note: previous declaration of 'pcap_datalink_name_to_val' was here +capture-pcap-util.c:414: error: static declaration of 'pcap_datalink_val_to_name' follows non-static declaration +/usr/include/pcap/pcap.h:314: note: previous declaration of 'pcap_datalink_val_to_name' was here + +--- wireshark-1.2.0/capture-pcap-util.c~ 2009-06-16 06:04:01.000000000 +0200 ++++ wireshark-1.2.0/capture-pcap-util.c 2009-06-23 01:28:10.162762368 +0200 +@@ -395,7 +395,7 @@ + }; + + #if !defined(HAVE_PCAP_DATALINK_NAME_TO_VAL) +-static int ++int + pcap_datalink_name_to_val(const char *name) + { + int i; +@@ -410,7 +410,7 @@ + #endif /* defined(HAVE_PCAP_DATALINK_NAME_TO_VAL) */ + + #if !defined(HAVE_PCAP_DATALINK_VAL_TO_NAME) +-static const char * ++const char * + pcap_datalink_val_to_name(int dlt) + { + int i; -- 2.44.0