summaryrefslogtreecommitdiff
path: root/conditions.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-01-18 16:21:12 +0000
committerJörg Mayer <jmayer@loplof.de>2004-01-18 16:21:12 +0000
commite68ca30d107e5d95a190e8d56e409059707f3cca (patch)
treef838e437d1a2a3f09df733bd2b40c09a02944196 /conditions.c
parentaa411b186187330168d3e0e06d95f3ca70dc827b (diff)
downloadwireshark-e68ca30d107e5d95a190e8d56e409059707f3cca.tar.gz
Fix warnings found by -Wstrict-prototypes
svn path=/trunk/; revision=9722
Diffstat (limited to 'conditions.c')
-rw-r--r--conditions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/conditions.c b/conditions.c
index 285dd697c8..9ff2aa6a01 100644
--- a/conditions.c
+++ b/conditions.c
@@ -1,7 +1,7 @@
/* conditions.c
* Implementation for condition handler.
*
- * $Id: conditions.c,v 1.5 2002/12/03 02:07:07 guy Exp $
+ * $Id: conditions.c,v 1.6 2004/01/18 16:20:09 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -47,7 +47,7 @@ typedef struct _cnd_class{
} _cnd_class;
/* helper function prototypes */
-static void _cnd_init();
+static void _cnd_init(void);
static void _cnd_find_hash_key_for_class_id(gpointer, gpointer, gpointer);
condition* cnd_new(const char* class_id, ...){
@@ -183,7 +183,7 @@ void cnd_unregister_class(const char* class_id){
/*
* Initialize hash table.
*/
-static void _cnd_init(){
+static void _cnd_init(void){
if(classes != NULL) return;
/* create hash table, we use strings as keys */
classes = g_hash_table_new(g_str_hash, g_str_equal);