Trivial warning fixes
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 2 Dec 2008 08:11:23 +0000 (08:11 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 2 Dec 2008 08:11:23 +0000 (08:11 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26899 f5534014-38df-0310-8fa8-9805f1628bb7

epan/addr_resolv.c
epan/dissectors/packet-dplay.c
epan/dissectors/packet-erf.c
epan/dissectors/packet-ipmi-se.c
epan/dissectors/packet-vnc.c
epan/oids.h
gtk/main_airpcap_toolbar.h
gtk/main_filter_toolbar.h
gtk/main_welcome.c
gtk/main_welcome.h

index fdfab0dc337d665643f745d6765619a34f45d0cf..45125a648adf4c45f0d53e57e6d20e801277e3d2 100644 (file)
@@ -2174,7 +2174,7 @@ static guint32 get_subnet_mask(guint32 mask_length) {
     }
 }
 
-static void subnet_name_lookup_init()
+static void subnet_name_lookup_init(void)
 {
     gchar* subnetspath;
 
index f39fab21ae60d631905df62ce0751b9779ae7cbc..b1864a0a83a8baf5db65f308e0024b49d2ab2214 100644 (file)
@@ -1210,7 +1210,7 @@ static gboolean heur_dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree
     return FALSE;
 }
 
-void proto_register_dplay()
+void proto_register_dplay(void)
 {
     static hf_register_info hf [] = {
     /* Common data fields */
index 4e2c90a54aa1a8fcc51df76e1e34d68df0d46bdf..d58316676108ccea6ad8539f57e216c78ab013e0 100644 (file)
@@ -197,7 +197,7 @@ static gboolean erf_rawcell_first = FALSE;
 
 typedef enum {
   ERF_AAL5_GUESS = 0,
-  ERF_AAL5_LLC = 1,
+  ERF_AAL5_LLC = 1
 } erf_aal5_type_val;
 static gint erf_aal5_type = ERF_AAL5_GUESS;
 static dissector_handle_t atm_untruncated_handle;
index 79ab9b3ee561a222d287f5218cdb378752917712..37c45a6846e5ecff120838d64e23c7f7106d38b1 100644 (file)
@@ -1780,7 +1780,7 @@ get_sensor_info(unsigned int stype)
        }
 
        return &si_rsrv;
-};
+}
 
 static void
 parse_platform_event(tvbuff_t *tvb, proto_tree *tree)
index 967beaf22dc84e4bf8429475cd310eeca169add6..f28f7c29b65e572bfd017c584c4d30062185f02f 100644 (file)
@@ -135,7 +135,7 @@ typedef enum {
        ENCODING_ZLIB           = 6,
        ENCODING_TIGHT          = 7,
        ENCODING_ZLIBHEX        = 8,
-       ENCODING_RLE            = 16,
+       ENCODING_RLE            = 16
 } encoding_type_e;
 
 static const value_string encoding_types_vs[] = {
index 704ae96301e225fb38ab84c4fc970e606d3dd76e..8808767010f0ffb35826746d07ec8331e390ad19 100644 (file)
@@ -51,7 +51,7 @@ typedef enum _oid_key_type_t {
        OID_KEY_TYPE_IMPLIED_OID,
        OID_KEY_TYPE_IMPLIED_STRING,
        OID_KEY_TYPE_IMPLIED_BYTES,
-       OID_KEY_TYPE_ETHER,
+       OID_KEY_TYPE_ETHER
 } oid_key_type_t;
 
 typedef struct _oid_value_type_t {
index bf1f959d1383969c2c5272d7b272201dc1a9f7d0..80ccbed85d4e1a4812388cc1059b7c9b466d9b33 100644 (file)
@@ -27,7 +27,7 @@
 
 extern int    airpcap_dll_ret_val;
 
-GtkWidget *airpcap_toolbar_new();
+GtkWidget *airpcap_toolbar_new(void);
 void airpcap_toolbar_show(GtkWidget *airpcap_tb);
 
 #endif /* __MAIN_AIRPCAP_TOOLBAR_H__ */
index 95bc64d727cf0783b6488e7b53a77be670dda872..b489b0c03e78bc06e0bc9a4bfdcd3b40340c7bb3 100644 (file)
@@ -29,6 +29,6 @@
 #define E_DFILTER_FL_KEY          "display_filter_list"
 #define E_DFILTER_CM_KEY          "display_filter_combo"
 
-extern GtkWidget *filter_toolbar_new();
+extern GtkWidget *filter_toolbar_new(void);
 
 #endif /* __MAIN_FILTER_TOOLBAR_H__ */
index f45eb0b082abe0ff69654f4182b5abb7a21dbaef..f602a395cc5eb89c20e0a3a1b8141569014f03f6 100644 (file)
@@ -428,7 +428,7 @@ welcome_filename_link_new(const gchar *filename, GtkWidget **label)
 
 /* reset the list of recent files */
 void
-main_welcome_reset_recent_capture_files()
+main_welcome_reset_recent_capture_files(void)
 {
     GtkWidget *child_box;
     GList* child_list;
index 0b52e8da9e3551def8f4f58463d6dd269597b133..b646428465bd94eb7aca4c06eac0314f6766209c 100644 (file)
@@ -29,7 +29,7 @@
 GtkWidget *welcome_new(void);
 
 /* reset the list of recently used files */
-void main_welcome_reset_recent_capture_files();
+void main_welcome_reset_recent_capture_files(void);
 
 /* add a new file to the list of recently used files */
 void main_welcome_add_recent_capture_files(const char *widget_cf_name);