summaryrefslogtreecommitdiff
path: root/tests/jittertest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/jittertest')
-rw-r--r--tests/jittertest/JitterTest.c4
-rw-r--r--tests/jittertest/plotJittervsFill.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/jittertest/JitterTest.c b/tests/jittertest/JitterTest.c
index 1d74b8a..0364a00 100644
--- a/tests/jittertest/JitterTest.c
+++ b/tests/jittertest/JitterTest.c
@@ -451,7 +451,7 @@ void SignalHandler(
stats reset by doing a (any) write to the /proc/profile
file.
*/
-void doGrabKProfile(int jitterusec, char *fileName)
+static void doGrabKProfile(int jitterusec, char *fileName)
{
int fdSnapshot;
int fdProfile;
@@ -498,7 +498,7 @@ void doGrabKProfile(int jitterusec, char *fileName)
/*
Call this routine to clear the kernel profiling buffer /proc/profile
*/
-void clearProfileBuf(void){
+static void clearProfileBuf(void){
int fdProfile;
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] <input log file name> -t [--jitter_threshold] <jitter threshold in ms>\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 */
{