Commit a2b1e9ae authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm: Mark some functions as static

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 166162dc
......@@ -175,7 +175,7 @@ write_out:
}
#define STATUS_FD 255
int ns_exec(void *_arg)
static int ns_exec(void *_arg)
{
struct ns_exec_args *args = (struct ns_exec_args *) _arg;
char buf[4096];
......
......@@ -53,7 +53,7 @@ static void test_fini(void)
unlink(pidfile);
}
void setup_outfile()
static void setup_outfile()
{
if (!access(outfile, F_OK) || errno != ENOENT) {
fprintf(stderr, "Output file %s appears to exist, aborting\n",
......
......@@ -99,7 +99,6 @@ extern int parse_opt_string(char *param, void *arg);
#define __stringify(x) __stringify_1(x)
/* message helpers */
extern void setup_outfile(void);
extern int test_log_init(const char *outfile, const char *suffix);
extern int zdtm_seccomp;
#define pr_err(format, arg...) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment