aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-sidsnooping.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-12-20 16:23:59 -0500
committerBill Meier <wmeier@newsguy.com>2014-12-21 05:46:22 +0000
commitb5d7b7ab6e6b0e595d3250d7fa6553d0da79c000 (patch)
tree9c89dc59ef32e5b7e1cee654fdf3a30706d7aa11 /epan/dissectors/packet-smb-sidsnooping.c
parent14cff7b6e2865efe7229f9831939fd4d241ca10c (diff)
Cleanup use of #includes in non-generated epan/dissector/*.c
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-smb-sidsnooping.c')
-rw-r--r--epan/dissectors/packet-smb-sidsnooping.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/epan/dissectors/packet-smb-sidsnooping.c b/epan/dissectors/packet-smb-sidsnooping.c
index 58ccf9dbae..15dbd290aa 100644
--- a/epan/dissectors/packet-smb-sidsnooping.c
+++ b/epan/dissectors/packet-smb-sidsnooping.c
@@ -25,16 +25,14 @@
#include <stdio.h>
#include <string.h>
-#include <epan/packet_info.h>
+
+#include <epan/packet.h>
#include <epan/epan_dissect.h>
-#include <epan/proto.h>
#include <epan/tap.h>
-#include <epan/emem.h>
#include <epan/strutil.h>
#include "packet-dcerpc.h"
#include "packet-dcerpc-nt.h"
-#include "register.h"
-#include <epan/dissectors/packet-smb.h>
+#include "packet-smb.h"
#include "packet-smb-sidsnooping.h"
void proto_register_smb_sidsnooping(void);