aboutsummaryrefslogtreecommitdiff
path: root/winsup/testsuite/winsup.api/ltp/munmap01.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp/munmap01.c')
-rw-r--r--winsup/testsuite/winsup.api/ltp/munmap01.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/munmap01.c b/winsup/testsuite/winsup.api/ltp/munmap01.c
index 0527201..91e06c5 100644
--- a/winsup/testsuite/winsup.api/ltp/munmap01.c
+++ b/winsup/testsuite/winsup.api/ltp/munmap01.c
@@ -88,7 +88,7 @@ unsigned int map_len; /* length of the region to be mapped */
void setup(); /* Main setup function of test */
void cleanup(void); /* cleanup function for the test */
-void sig_handler(); /* signal catching function */
+void sig_handler(int sig); /* signal catching function */
int
main(int ac, char **av)
@@ -244,7 +244,7 @@ setup()
* cleanup function and exit the program.
*/
void
-sig_handler()
+sig_handler(int sig)
{
tst_resm(TPASS, "Functionality of munmap() successful");