From 1c7ce1594afe82d65a48fa3740af4a9577827c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 26 Jun 2012 17:27:31 +0100 Subject: [PATCH] tools: minor clean-up Get rid of superfluous argument. --- tools/gst-inspect.c | 2 +- tools/gst-launch.c | 2 +- tools/gst-typefind.c | 2 +- tools/tools.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 00f892f815..c08f335ddb 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -1550,7 +1550,7 @@ main (int argc, char *argv[]) gst_init (&argc, &argv); #endif - gst_tools_print_version ("gst-inspect"); + gst_tools_print_version (); if (print_all && argc > 1) { g_print ("-a requires no extra arguments\n"); diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 4a1ca3ba84..bd4fee751f 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -967,7 +967,7 @@ main (int argc, char *argv[]) gst_init (&argc, &argv); #endif - gst_tools_print_version ("gst-launch"); + gst_tools_print_version (); #ifndef DISABLE_FAULT_HANDLER if (!no_fault) diff --git a/tools/gst-typefind.c b/tools/gst-typefind.c index cef900452f..4cab8c4d42 100644 --- a/tools/gst-typefind.c +++ b/tools/gst-typefind.c @@ -164,7 +164,7 @@ main (int argc, char *argv[]) } g_option_context_free (ctx); - gst_tools_print_version ("gst-typefind"); + gst_tools_print_version (); if (filenames == NULL || *filenames == NULL) { g_print ("Please give a filename to typefind\n\n"); diff --git a/tools/tools.h b/tools/tools.h index 12144c53c4..084085ecb7 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -42,7 +42,7 @@ static gboolean __gst_tools_version = FALSE; N_("Print version information and exit"), NULL } static void -gst_tools_print_version (const gchar * tool) +gst_tools_print_version (void) { if (__gst_tools_version) { gchar *version_str;