diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-04-08 07:07:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-04-08 07:07:42 +0000 |
commit | 42107e86146c473a06a11769ef2f5a8bedc1ef88 (patch) | |
tree | 8c2187183a707d04b8678a4cbfddb5577187c015 /packet-ntp.h | |
parent | 160928a318385aa2fb59af968ab1cd85847ad963 (diff) | |
download | wireshark-42107e86146c473a06a11769ef2f5a8bedc1ef88.tar.gz |
Move calls to "dissector_add()" out of the register routines for TCP and
UDP and into the handoff registration routines for the protocols in
question.
Make the dissectors for those protocols static if they're not called
outside the dissector's source file.
Get rid of header files if all they did was declare dissectors that are
now static; remove declarations of now-static dissectors from header
files that do more than just declare the dissector.
svn path=/trunk/; revision=1823
Diffstat (limited to 'packet-ntp.h')
-rw-r--r-- | packet-ntp.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-ntp.h b/packet-ntp.h index 7dedb55e7f..0e96969d24 100644 --- a/packet-ntp.h +++ b/packet-ntp.h @@ -1,7 +1,7 @@ /* packet-ntp.h * Definitions for packet disassembly structures and routines * - * $Id: packet-ntp.h,v 1.3 2000/02/15 21:02:43 gram Exp $ + * $Id: packet-ntp.h,v 1.4 2000/04/08 07:07:32 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -29,8 +29,6 @@ #ifndef PACKET_NTP_H #define PACKET_NTP_H -void dissect_ntp(const u_char *, int, frame_data *, proto_tree *); - #define NTP_LI_MASK 192 #define NTP_LI_NONE 0 #define NTP_LI_61 64 |