aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-07-12 03:50:50 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-07-12 03:50:50 +0000
commit4dcc156cf360c2e355349e539c28c867eef0f7d0 (patch)
tree195b81af7607fbee7fdb635c943214f1997ee936 /file.c
parent416c76a728a8a67b0473ed72b7ddc163739606aa (diff)
Move the print modules into epan.
svn path=/trunk/; revision=50526
Diffstat (limited to 'file.c')
-rw-r--r--file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/file.c b/file.c
index 40308b307d..6a0d2ba86d 100644
--- a/file.c
+++ b/file.c
@@ -51,7 +51,6 @@
#include <epan/column.h>
#include <epan/packet.h>
#include <epan/column-utils.h>
-#include "print.h"
#include "file.h"
#include "fileset.h"
#include "frame_tvbuff.h"
@@ -76,6 +75,8 @@
#include "ui/progress_dlg.h"
#include "ui/ui_util.h"
+#include "version_info.h"
+
/* Needed for addrinfo */
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
@@ -2540,7 +2541,7 @@ cf_print_packets(capture_file *cf, print_args_t *print_args)
callback_args.num_visible_cols = 0;
callback_args.visible_cols = NULL;
- if (!print_preamble(print_args->stream, cf->filename)) {
+ if (!print_preamble(print_args->stream, cf->filename, wireshark_svnversion)) {
destroy_print_stream(print_args->stream);
return CF_PRINT_WRITE_ERROR;
}