diff options
author | Cyril Hrubis <chrubis@suse.cz> | 2013-03-25 17:26:44 +0100 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2013-03-25 17:47:36 +0100 |
commit | 4ca2bbdcd3003f3c8df4e6129e9c7b2bd1514f87 (patch) | |
tree | b4a845a7a66716749499b5c06ccebf3e4950d187 /testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c | |
parent | 8567638ab4af6643389714479977545ba780b762 (diff) | |
download | ltp-4ca2bbdcd3003f3c8df4e6129e9c7b2bd1514f87.tar.gz |
open_posix_testsuite/conformace/interfaces: Fix.
Change the main() and main(argc, argv) to main(void).
This fixes a lot of warnings in the latter case.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c')
-rw-r--r-- | testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c index 983e12587..965033b52 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/3-1.c @@ -127,7 +127,7 @@ int set_nonroot() } /* The main test function. */ -int main(int argc, char *argv[]) +int main(void) { int ret, status; pid_t ch, ctl; |