From 5b36683d396273fff17ad78937bf54e68db87a62 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 19 Nov 2001 10:23:39 +0000 Subject: Make the register routines for the mailslot, pipe, browser, and mailslot-based logon protocols just be regular register routines, detected by the script that generates the "register.c" file, rather than special stuff known to the SMB dissector. svn path=/trunk/; revision=4222 --- packet-smb.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'packet-smb.c') diff --git a/packet-smb.c b/packet-smb.c index 7d142ff99e..a35f3db73b 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -2,7 +2,7 @@ * Routines for smb packet dissection * Copyright 1999, Richard Sharpe * - * $Id: packet-smb.c,v 1.158 2001/11/19 10:06:41 guy Exp $ + * $Id: packet-smb.c,v 1.159 2001/11/19 10:23:39 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -12923,16 +12923,6 @@ dissect_smb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) return TRUE; } - - - - - - /* External routines called during the registration process */ - -extern void register_proto_smb_browse( void); -extern void register_proto_smb_logon( void); - void proto_register_smb(void) { @@ -14693,11 +14683,6 @@ proto_register_smb(void) proto_register_subtree_array(ett, array_length(ett)); proto_register_field_array(proto_smb, hf, array_length(hf)); register_init_routine(&smb_init_protocol); - - register_proto_smb_browse(); - register_proto_smb_logon(); - register_proto_smb_mailslot(); - register_proto_smb_pipe(); } void -- cgit v1.2.3