From 4efe3dc2df45ca393a82d05e217e6a4449686d98 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Fri, 4 Jan 2013 15:45:07 +0000 Subject: CLI: fix warning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test/test.c:378: warning: ‘ShowCommands’ was used with no prototype before its definition git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5149 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- test/test.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'test/test.c') diff --git a/test/test.c b/test/test.c index 39d5ca467..c91ccaf2c 100644 --- a/test/test.c +++ b/test/test.c @@ -141,9 +141,16 @@ static volatile int die = 0; static void SigHandler( int ); /* Utils */ -static void ShowCommands(); static void ShowHelp(); static void ShowPresets(); +static void ShowCommands() +{ + fprintf(stdout, "\nCommands:\n"); + fprintf(stdout, " [h]elp Show this message\n"); + fprintf(stdout, " [q]uit Exit HandBrakeCLI\n"); + fprintf(stdout, " [p]ause Pause encoding\n"); + fprintf(stdout, " [r]esume Resume encoding\n"); +} static int ParseOptions( int argc, char ** argv ); static int CheckOptions( int argc, char ** argv ); @@ -374,15 +381,6 @@ int main( int argc, char ** argv ) return 0; } -static void ShowCommands() -{ - fprintf( stdout, "\nCommands:\n" ); - fprintf( stdout, " [h]elp Show this message\n" ); - fprintf( stdout, " [q]uit Exit HandBrakeCLI\n" ); - fprintf( stdout, " [p]ause Pause encoding\n" ); - fprintf( stdout, " [r]esume Resume encoding\n" ); -} - static void PrintTitleInfo( hb_title_t * title, int feature ) { hb_chapter_t * chapter; -- cgit v1.2.3