rt-tests: rt-utils: Mark internal functions static
There are some helper functions which shouldn't be exported. Mark them static. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Signed-off-by: John Kacur <jkacur@redhat.com>
This commit is contained in:
parent
71d8477f77
commit
e4613f7281
|
@ -362,7 +362,7 @@ int parse_time_string(char *val)
|
|||
return t;
|
||||
}
|
||||
|
||||
void open_tracemark_fd(void)
|
||||
static void open_tracemark_fd(void)
|
||||
{
|
||||
char path[MAX_PATH];
|
||||
|
||||
|
@ -390,7 +390,7 @@ void open_tracemark_fd(void)
|
|||
}
|
||||
}
|
||||
|
||||
int trace_file_exists(char *name)
|
||||
static int trace_file_exists(char *name)
|
||||
{
|
||||
struct stat sbuf;
|
||||
char *tracing_prefix = get_debugfileprefix();
|
||||
|
@ -399,7 +399,7 @@ int trace_file_exists(char *name)
|
|||
return stat(path, &sbuf) ? 0 : 1;
|
||||
}
|
||||
|
||||
void debugfs_prepare(void)
|
||||
static void debugfs_prepare(void)
|
||||
{
|
||||
if (mount_debugfs(NULL))
|
||||
fatal("could not mount debugfs");
|
||||
|
|
Loading…
Reference in New Issue