summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-01-04 15:45:07 +0000
committerRodeo <[email protected]>2013-01-04 15:45:07 +0000
commit4efe3dc2df45ca393a82d05e217e6a4449686d98 (patch)
treecaf530770fa10e21b19a3446b5b8cad0af02e756 /test
parentbc5053fcb1eb98c81f8a0e1f3062379d90968ff5 (diff)
CLI: fix warning.
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
Diffstat (limited to 'test')
-rw-r--r--test/test.c18
1 files changed, 8 insertions, 10 deletions
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;