diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-02-22 07:42:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-02-22 07:42:50 +0000 |
commit | ea443c8965bdf1bfab9ead1b05b8b711635b65d1 (patch) | |
tree | 46611e6a4886eca1f106906f12823282f75b45ea /packet-x25.c | |
parent | ca9d89b2ba18889c3c2e68a4c8825067b701d0f7 (diff) | |
download | wireshark-ea443c8965bdf1bfab9ead1b05b8b711635b65d1.tar.gz wireshark-ea443c8965bdf1bfab9ead1b05b8b711635b65d1.tar.bz2 wireshark-ea443c8965bdf1bfab9ead1b05b8b711635b65d1.zip |
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.c | 6 |
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; |