warning: function declaration isn't a prototype

svn path=/trunk/; revision=16852
This commit is contained in:
Jörg Mayer 2005-12-18 23:18:06 +00:00
parent b7d11ac06c
commit b06bd208d0
5 changed files with 6 additions and 6 deletions

View File

@ -257,7 +257,7 @@ static void h223_lc_init_dir( int dir )
h223_pending_olc_reqs[dir] = g_hash_table_new( g_direct_hash, g_direct_equal );
}
static void h223_lc_init()
static void h223_lc_init( void )
{
h223_lc_init_dir( P2P_DIR_SENT );
h223_lc_init_dir( P2P_DIR_RECV );

View File

@ -115,7 +115,7 @@ capture_opts_list_link_layer_types(capture_options *capture_opts);
/* list interfaces */
extern void
capture_opts_list_interfaces();
capture_opts_list_interfaces(void);
/* trim the snaplen entry */
extern void

View File

@ -726,7 +726,7 @@ simple_dialog_format_message(const char *msg)
/* link "dummies" */
const char *netsnmp_get_version() { return ""; }
const char *netsnmp_get_version(void) { return ""; }
gboolean dfilter_compile(const gchar *text, dfilter_t **dfp) { return NULL; }

View File

@ -264,7 +264,7 @@ static void h223_lc_init_dir( int dir )
h223_pending_olc_reqs[dir] = g_hash_table_new( g_direct_hash, g_direct_equal );
}
static void h223_lc_init()
static void h223_lc_init(void)
{
h223_lc_init_dir( P2P_DIR_SENT );
h223_lc_init_dir( P2P_DIR_RECV );

View File

@ -46,8 +46,8 @@
#include "packet-nhrp.h"
/* forward reference */
void proto_register_nhrp();
void proto_reg_handoff_nhrp();
void proto_register_nhrp(void);
void proto_reg_handoff_nhrp(void);
void dissect_nhrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static int proto_nhrp = -1;