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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp/getppid02.c')
-rw-r--r--winsup/testsuite/winsup.api/ltp/getppid02.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/getppid02.c b/winsup/testsuite/winsup.api/ltp/getppid02.c
index 9eeead13f..50a72e470 100644
--- a/winsup/testsuite/winsup.api/ltp/getppid02.c
+++ b/winsup/testsuite/winsup.api/ltp/getppid02.c
@@ -43,14 +43,16 @@
#include <errno.h>
#include <test.h>
#include <usctest.h>
+#include <sys/wait.h>
-char *TCID = "getppid01";
+const char *TCID = "getppid01";
int TST_TOTAL = 1;
extern int Tst_count;
void setup(void);
-void cleanup(void);
+void cleanup(void) __attribute__((noreturn));
+int
main(int ac, char **av)
{
int pid, ppid;