From ca517e8b320c7a31c3a147fb1212ddb33cabd919 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 22 Jun 2017 13:37:40 +0200 Subject: Eliminate warnings about missing prototypes This patch eliminates warnings generated by the -Wmissing-prototypes option. With this flag set, we are now forced to have prototypes for all global, exported functions, that have to be made visible to the definitions and we are forced to mark all local functions as static. Signed-off-by: David Oberhollenzer --- tests/jittertest/plotJittervsFill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/jittertest/plotJittervsFill.c') diff --git a/tests/jittertest/plotJittervsFill.c b/tests/jittertest/plotJittervsFill.c index f9427f1..8d71a33 100644 --- a/tests/jittertest/plotJittervsFill.c +++ b/tests/jittertest/plotJittervsFill.c @@ -75,7 +75,7 @@ static int Debug = 0; /* Debug level. Each "-d" on the cmd line increases the le #define MIN_JITTER_THRESHOLD 1 /* ms minimum jitter threshold */ -void PrintHelpInfo(void) +static void PrintHelpInfo(void) { printf("Usage: plotJittervsFill [options] -f [--file] -t [--jitter_threshold] \n"); printf("[options]:\n-v [--version] Print version and exit\n"); @@ -90,7 +90,7 @@ void PrintHelpInfo(void) * This function handles the command line arguments. * output: stack size ***********************************************************************/ -void HandleCmdLineArgs( +static void HandleCmdLineArgs( int argc, /* number of command-line arguments */ char *argv[]) /* ptrs to command-line arguments */ { -- cgit v1.2.3