aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2007-03-21 04:54:20 +0000
committerJörg Mayer <jmayer@loplof.de>2007-03-21 04:54:20 +0000
commitd987ac4127f9cff5469b15d4502d77b0587a5fca (patch)
tree44d9bac3422d021f4fa3ca8b612c1937695332c3
parent62c61a071c2dfa3ddfd28dc589f3f13f56a739ce (diff)
Fixes for: warning: function declaration isn't a prototype
svn path=/trunk/; revision=21082
-rw-r--r--epan/dissectors/packet-homeplug.c2
-rw-r--r--epan/dissectors/packet-ieee80211.c2
-rw-r--r--epan/dissectors/packet-roofnet.c2
-rw-r--r--gtk/packet_list.c4
-rw-r--r--gtk/packet_list.h4
5 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-homeplug.c b/epan/dissectors/packet-homeplug.c
index 04a3bfde33..7a0eb4a864 100644
--- a/epan/dissectors/packet-homeplug.c
+++ b/epan/dissectors/packet-homeplug.c
@@ -77,7 +77,7 @@
#define HOMEPLUG_NS_EXT_LEN 199
/* forward reference */
-void proto_reg_handoff_homeplug();
+void proto_reg_handoff_homeplug(void);
static int proto_homeplug = -1;
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 9fa25cca51..57ea3d286e 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -6053,7 +6053,7 @@ static tvbuff_t *try_decrypt_wep(tvbuff_t *tvb, guint32 offset, guint32 len) {
#ifdef HAVE_AIRPDCAP
static
-void set_airpdcap_keys()
+void set_airpdcap_keys(void)
{
guint i = 0;
AIRPDCAP_KEY_ITEM key;
diff --git a/epan/dissectors/packet-roofnet.c b/epan/dissectors/packet-roofnet.c
index 11d25a761b..8f76d4184c 100644
--- a/epan/dissectors/packet-roofnet.c
+++ b/epan/dissectors/packet-roofnet.c
@@ -80,7 +80,7 @@ static const value_string roofnet_flags_vals[] = {
#define ROOFNET_LINK_LEN 24
/* forward reference */
-void proto_reg_handoff_roofnet();
+void proto_reg_handoff_roofnet(void);
static dissector_handle_t ip_handle;
static int proto_roofnet = -1;
diff --git a/gtk/packet_list.c b/gtk/packet_list.c
index b4808aa1d6..7a1b5c9ec7 100644
--- a/gtk/packet_list.c
+++ b/gtk/packet_list.c
@@ -723,13 +723,13 @@ packet_list_next_prev(gboolean next)
}
void
-packet_list_next()
+packet_list_next(void)
{
packet_list_next_prev(TRUE);
}
void
-packet_list_prev()
+packet_list_prev(void)
{
packet_list_next_prev(FALSE);
}
diff --git a/gtk/packet_list.h b/gtk/packet_list.h
index 81bb0baffc..a15ec6dedc 100644
--- a/gtk/packet_list.h
+++ b/gtk/packet_list.h
@@ -100,11 +100,11 @@ extern void packet_list_set_sel_browse(gboolean val);
/** Move to the next packet
*/
-extern void packet_list_next();
+extern void packet_list_next(void);
/** Move to the previous packet
*/
-extern void packet_list_prev();
+extern void packet_list_prev(void);
/* Different modes of copying summary data */
typedef enum {