Remove some unnecessary includes.
Either remove them completely, or put them inside an #ifdef. Change-Id: Iceff4909e250c17812f38d94e067f7c37ab72e1b Reviewed-on: https://code.wireshark.org/review/11630 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
e9ad65adbb
commit
8e689a9d4a
|
@ -22,8 +22,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#include "packet.h"
|
||||
|
|
|
@ -22,8 +22,9 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef DUMP_DFILTER_MACRO
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#include "dfilter-int.h"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#ifndef DFVM_H
|
||||
#define DFVM_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <epan/proto.h>
|
||||
#include "dfilter-int.h"
|
||||
#include "syntax-tree.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/conversation.h>
|
||||
|
|
|
@ -30,9 +30,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/prefs.h>
|
||||
#include <wsutil/file_util.h>
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/strutil.h>
|
||||
|
|
|
@ -28,12 +28,8 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
|
||||
|
||||
void proto_register_abis_om2000(void);
|
||||
|
||||
/* initialize the protocol and registered fields */
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/prefs.h>
|
||||
|
||||
|
|
|
@ -922,7 +922,6 @@ dissect_extensions(tvbuff_t * tvb, gint offset, proto_tree * tree)
|
|||
}
|
||||
}
|
||||
|
||||
#include <stdio.h>
|
||||
/* ======================================================================= */
|
||||
static icmp_transaction_t *transaction_start(packet_info * pinfo,
|
||||
proto_tree * tree,
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/prefs.h>
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/strutil.h>
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/prefs.h>
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/req_resp_hdrs.h>
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/epan_dissect.h>
|
||||
#include <epan/tap.h>
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/prefs.h>
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include <epan/exceptions.h>
|
||||
#include <epan/prefs.h>
|
||||
|
|
Loading…
Reference in New Issue