aboutsummaryrefslogtreecommitdiffstats
path: root/capinfos.c
diff options
context:
space:
mode:
Diffstat (limited to 'capinfos.c')
-rw-r--r--capinfos.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/capinfos.c b/capinfos.c
index 59056267a1..8b4bfeaf05 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -84,7 +84,6 @@
#include <wsutil/privileges.h>
#include <wsutil/filesystem.h>
#include <wsutil/crash_info.h>
-#include <wsutil/copyright_info.h>
#include <wsutil/os_version_info.h>
#include <wsutil/ws_version_info.h>
@@ -998,20 +997,6 @@ process_cap_file(wtap *wth, const char *filename)
}
static void
-show_version(GString *comp_info_str, GString *runtime_info_str)
-{
- printf("Capinfos (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
print_usage(FILE *output)
{
fprintf(output, "\n");
@@ -1409,7 +1394,7 @@ main(int argc, char *argv[])
break;
case 'v':
- show_version(comp_info_str, runtime_info_str);
+ show_version("Capinfos (Wireshark)", comp_info_str, runtime_info_str);
g_string_free(comp_info_str, TRUE);
g_string_free(runtime_info_str, TRUE);
exit(0);