aboutsummaryrefslogtreecommitdiffstats
path: root/packet-x25.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-02-22 07:42:50 +0000
committerGuy Harris <guy@alum.mit.edu>2000-02-22 07:42:50 +0000
commitea443c8965bdf1bfab9ead1b05b8b711635b65d1 (patch)
tree46611e6a4886eca1f106906f12823282f75b45ea /packet-x25.c
parentca9d89b2ba18889c3c2e68a4c8825067b701d0f7 (diff)
Make "reinit_x25_hashtable()" static (it's not explicitly called from
outside "packet-x25.c", it's only registered as a protocol init routine), and explicitly declare it as taking no arguments (GCC doesn't complain about passing a pointer to a routine with an unspecified argument list to "register_init_routine()", which expects a pointer to a routine with no arguments, but Microsoft Visual C{++} 6.0 does complain about it). svn path=/trunk/; revision=1664
Diffstat (limited to 'packet-x25.c')
-rw-r--r--packet-x25.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-x25.c b/packet-x25.c
index 2e7a88b1a4..3030bee76b 100644
--- a/packet-x25.c
+++ b/packet-x25.c
@@ -2,7 +2,7 @@
* Routines for x25 packet disassembly
* Olivier Abad <abad@daba.dhis.net>
*
- * $Id: packet-x25.c,v 1.20 2000/02/19 14:00:35 oabad Exp $
+ * $Id: packet-x25.c,v 1.21 2000/02/22 07:42:49 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -200,8 +200,8 @@ free_vc_info(vc_info *pt)
}
}
-void
-reinit_x25_hashtable()
+static void
+reinit_x25_hashtable(void)
{
int i;