summaryrefslogtreecommitdiff
path: root/tfshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tfshark.c')
-rw-r--r--tfshark.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/tfshark.c b/tfshark.c
index cd6909c25f..30c91a4cff 100644
--- a/tfshark.c
+++ b/tfshark.c
@@ -70,7 +70,6 @@
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
#include <wsutil/report_err.h>
-#include <wsutil/copyright_info.h>
#include <wsutil/ws_version_info.h>
#include "globals.h"
@@ -737,20 +736,6 @@ print_current_user(void) {
}
static void
-show_version(GString *comp_info_str, GString *runtime_info_str)
-{
- printf("TFShark (Wireshark) %s\n"
- "\n"
- "%s"
- "\n"
- "%s"
- "\n"
- "%s",
- get_ws_vcs_version_info(), get_copyright_info(), comp_info_str->str,
- runtime_info_str->str);
-}
-
-static void
get_tfshark_compiled_version_info(GString *str)
{
/* LIBZ */
@@ -1274,7 +1259,7 @@ main(int argc, char *argv[])
break;
case 'v': /* Show version and exit */
{
- show_version(comp_info_str, runtime_info_str);
+ show_version("TFShark (Wireshark)", comp_info_str, runtime_info_str);
g_string_free(comp_info_str, TRUE);
g_string_free(runtime_info_str, TRUE);
/* We don't really have to cleanup here, but it's a convenient way to test