aboutsummaryrefslogtreecommitdiffstats
path: root/reordercap.c
diff options
context:
space:
mode:
Diffstat (limited to 'reordercap.c')
-rw-r--r--reordercap.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/reordercap.c b/reordercap.c
index 9ac0b6738f..ba5a9d87a4 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -48,26 +48,11 @@
#include <wsutil/file_util.h>
#include <wsutil/crash_info.h>
-#include <wsutil/copyright_info.h>
#include <wsutil/os_version_info.h>
#include <wsutil/ws_version_info.h>
#include "version_info.h"
-static void
-show_version(GString *comp_info_str, GString *runtime_info_str)
-{
- printf("Reordercap (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);
-}
-
/* Show command-line usage */
static void
print_usage(FILE *output)
@@ -254,7 +239,7 @@ main(int argc, char *argv[])
print_usage(stdout);
exit(0);
case 'v':
- show_version(comp_info_str, runtime_info_str);
+ show_version("Reordercap (Wireshark)", comp_info_str, runtime_info_str);
g_string_free(comp_info_str, TRUE);
g_string_free(runtime_info_str, TRUE);
exit(0);