Skip to content

Commit

Permalink
Remove unnecessary inclues of wiretap/pcapng.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
guyharris committed Mar 15, 2021
1 parent 9bf838b commit ce20c00
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion cfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <glib.h>

#include <epan/packet.h>
#include <wiretap/pcapng.h>

#include "cfile.h"

Expand Down
1 change: 0 additions & 1 deletion editcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
#include <wsutil/pint.h>
#include <wsutil/strtoi.h>
#include <wiretap/wtap_opttypes.h>
#include <wiretap/pcapng.h>

#include "ui/failure_message.h"

Expand Down
1 change: 0 additions & 1 deletion epan/wslua/wslua_capture_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "wslua_file_common.h"

#include <epan/addr_resolv.h>
#include <wiretap/pcapng.h>


/* WSLUA_CONTINUE_MODULE File */
Expand Down
1 change: 0 additions & 1 deletion sharkd.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <wsutil/report_message.h>
#include <version_info.h>
#include <wiretap/wtap_opttypes.h>
#include <wiretap/pcapng.h>

#include <epan/decode_as.h>
#include <epan/timestamp.h>
Expand Down
1 change: 0 additions & 1 deletion tshark.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
#include <cli_main.h>
#include <version_info.h>
#include <wiretap/wtap_opttypes.h>
#include <wiretap/pcapng.h>

#include "globals.h"
#include <epan/timestamp.h>
Expand Down
1 change: 0 additions & 1 deletion ui/export_pdu_ui_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <epan/epan_dissect.h>
#include <wiretap/wtap.h>
#include <wiretap/wtap_opttypes.h>
#include <wiretap/pcapng.h>

#include "ui/alert_box.h"
#include "ui/simple_dialog.h"
Expand Down
1 change: 0 additions & 1 deletion ui/summary.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include <wiretap/pcap-encap.h>
#include <wiretap/wtap_opttypes.h>
#include <wiretap/pcapng.h>

#include <epan/packet.h>
#include <wsutil/file_util.h>
Expand Down
1 change: 0 additions & 1 deletion wiretap/erf.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include "wtap-int.h"
#include "file_wrappers.h"
#include "pcap-encap.h"
#include "pcapng.h"
#include "erf.h"
#include "erf_record.h"
#include "erf-common.h"
Expand Down
1 change: 0 additions & 1 deletion wiretap/lanalyzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "wtap-int.h"
#include "file_wrappers.h"
#include "lanalyzer.h"
#include "pcapng.h"

/* The LANalyzer format is documented (at least in part) in Novell document
TID022037, which can be found at, among other places:
Expand Down
1 change: 0 additions & 1 deletion wiretap/merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <string.h>
#include "merge.h"
#include "wtap_opttypes.h"
#include "pcapng.h"
#include "wtap-int.h"

#include <wsutil/filesystem.h>
Expand Down
1 change: 0 additions & 1 deletion wiretap/nettrace_3gpp_32_423.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <wsutil/inet_addr.h>


#include "pcapng.h"
#include "nettrace_3gpp_32_423.h"

/* String constants sought in the XML data.
Expand Down
1 change: 0 additions & 1 deletion wiretap/wtap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include "wtap-int.h"
#include "wtap_opttypes.h"
#include "pcapng.h"

#include "file_wrappers.h"
#include <wsutil/file_util.h>
Expand Down
1 change: 0 additions & 1 deletion wiretap/wtap_opttypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "wtap.h"
#include "wtap_opttypes.h"
#include "wtap-int.h"
#include "pcapng.h"
#include "pcapng_module.h"

#if 0
Expand Down

0 comments on commit ce20c00

Please sign in to comment.