diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-18 16:21:12 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-18 16:21:12 +0000 |
commit | 60f726b51b4852008f20f56b5dc373e9489f6a19 (patch) | |
tree | f838e437d1a2a3f09df733bd2b40c09a02944196 /conditions.c | |
parent | 79e2a4b358b8e983d9efce42191005a7a442ba42 (diff) |
Fix warnings found by -Wstrict-prototypes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9722 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'conditions.c')
-rw-r--r-- | conditions.c | 6 |
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); |