aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd.h
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-02-19 17:01:51 +0100
committerMichael Mann <mmann78@netscape.net>2017-02-24 02:12:20 +0000
commit99929f727477cd5ddf74d991fa3fa52cba9c6b7d (patch)
tree69ffcfc1e1a9fd12c9bab6d72b6515b8ec61f2a1 /sharkd.h
parent453cccd1c38346894357b49caf22091bbe6f2601 (diff)
sharkd: fix redundant redeclaration of ‘cfile’ [-Wredundant-decls]
Change-Id: I6ffe2d21cabfe326568b5f090c322d4dafd92d9d Reviewed-on: https://code.wireshark.org/review/20181 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'sharkd.h')
-rw-r--r--sharkd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sharkd.h b/sharkd.h
index f82aa78f3d..feef76a795 100644
--- a/sharkd.h
+++ b/sharkd.h
@@ -25,6 +25,7 @@
#define __SHARKD_H
#include <file.h>
+#include <globals.h>
/* sharkd.c */
cf_status_t sharkd_cf_open(const char *fname, unsigned int type, gboolean is_tempfile, int *err);
@@ -35,8 +36,6 @@ int sharkd_dissect_columns(int framenum, column_info *cinfo, gboolean dissect_co
int sharkd_dissect_request(unsigned int framenum, void (*cb)(packet_info *, proto_tree *, struct epan_column_info *, const GSList *, void *), int dissect_bytes, int dissect_columns, int dissect_tree, void *data);
const char *sharkd_version(void);
-extern capture_file cfile;
-
/* sharkd_daemon.c */
int sharkd_init(int argc, char **argv);
int sharkd_loop(void);