Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
a2b1e9ae
Commit
a2b1e9ae
authored
Dec 01, 2015
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zdtm: Mark some functions as static
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
166162dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
ns.c
test/zdtm/lib/ns.c
+1
-1
test.c
test/zdtm/lib/test.c
+1
-1
zdtmtst.h
test/zdtm/lib/zdtmtst.h
+0
-1
No files found.
test/zdtm/lib/ns.c
View file @
a2b1e9ae
...
@@ -175,7 +175,7 @@ write_out:
...
@@ -175,7 +175,7 @@ write_out:
}
}
#define STATUS_FD 255
#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
;
struct
ns_exec_args
*
args
=
(
struct
ns_exec_args
*
)
_arg
;
char
buf
[
4096
];
char
buf
[
4096
];
...
...
test/zdtm/lib/test.c
View file @
a2b1e9ae
...
@@ -53,7 +53,7 @@ static void test_fini(void)
...
@@ -53,7 +53,7 @@ static void test_fini(void)
unlink
(
pidfile
);
unlink
(
pidfile
);
}
}
void
setup_outfile
()
static
void
setup_outfile
()
{
{
if
(
!
access
(
outfile
,
F_OK
)
||
errno
!=
ENOENT
)
{
if
(
!
access
(
outfile
,
F_OK
)
||
errno
!=
ENOENT
)
{
fprintf
(
stderr
,
"Output file %s appears to exist, aborting
\n
"
,
fprintf
(
stderr
,
"Output file %s appears to exist, aborting
\n
"
,
...
...
test/zdtm/lib/zdtmtst.h
View file @
a2b1e9ae
...
@@ -99,7 +99,6 @@ extern int parse_opt_string(char *param, void *arg);
...
@@ -99,7 +99,6 @@ extern int parse_opt_string(char *param, void *arg);
#define __stringify(x) __stringify_1(x)
#define __stringify(x) __stringify_1(x)
/* message helpers */
/* message helpers */
extern
void
setup_outfile
(
void
);
extern
int
test_log_init
(
const
char
*
outfile
,
const
char
*
suffix
);
extern
int
test_log_init
(
const
char
*
outfile
,
const
char
*
suffix
);
extern
int
zdtm_seccomp
;
extern
int
zdtm_seccomp
;
#define pr_err(format, arg...) \
#define pr_err(format, arg...) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment