aboutsummaryrefslogtreecommitdiff
path: root/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c
diff options
context:
space:
mode:
authorCyril Hrubis <chrubis@suse.cz>2013-03-25 17:26:44 +0100
committerCyril Hrubis <chrubis@suse.cz>2013-03-25 17:47:36 +0100
commit4ca2bbdcd3003f3c8df4e6129e9c7b2bd1514f87 (patch)
treeb4a845a7a66716749499b5c06ccebf3e4950d187 /testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c
parent8567638ab4af6643389714479977545ba780b762 (diff)
downloadltp-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/sigaction/17-22.c')
-rw-r--r--testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c
index 102e32a6b..af70421b8 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c
@@ -33,7 +33,7 @@ void handler(int signo)
wakeup++;
}
-int main()
+int main(void)
{
pid_t pid;
struct timeval tv;