Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/zdtm/static/selinux00.c')
-rw-r--r--test/zdtm/static/selinux00.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/zdtm/static/selinux00.c b/test/zdtm/static/selinux00.c
index db8420eac..b5b3e3cc0 100644
--- a/test/zdtm/static/selinux00.c
+++ b/test/zdtm/static/selinux00.c
@@ -26,14 +26,14 @@ const char *test_author = "Adrian Reber <areber@redhat.com>";
*/
char state;
-int check_for_selinux()
+int check_for_selinux(void)
{
if (access("/sys/fs/selinux", F_OK) == 0)
return 0;
return 1;
}
-int setprofile()
+int setprofile(void)
{
int fd, len;
@@ -54,7 +54,7 @@ int setprofile()
return 0;
}
-int checkprofile()
+int checkprofile(void)
{
int fd;
char context[1024];
@@ -83,7 +83,7 @@ int checkprofile()
return 0;
}
-int check_sockcreate()
+int check_sockcreate(void)
{
char *output = NULL;
FILE *f = fopen("/proc/self/attr/sockcreate", "r");