From 286403d7a3d0e521179e677c0d2fd7549c9ceab4 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 7 Jan 2019 08:43:45 +0100 Subject: Fix warnings Close #3670. --- posix_api/livermore/pthread/init.c | 2 +- posix_api/psx_example_2/test2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/posix_api/livermore/pthread/init.c b/posix_api/livermore/pthread/init.c index bbc296b..af90ba4 100644 --- a/posix_api/livermore/pthread/init.c +++ b/posix_api/livermore/pthread/init.c @@ -59,7 +59,7 @@ void *POSIX_Init(void *argument) pthread_join(threads[t],NULL); } /* Last thing that main() should do */ - exit(NULL); + exit(0); } /* NOTICE: the clock driver is explicitly disabled */ diff --git a/posix_api/psx_example_2/test2.c b/posix_api/psx_example_2/test2.c index ec91b1b..b9df107 100644 --- a/posix_api/psx_example_2/test2.c +++ b/posix_api/psx_example_2/test2.c @@ -1,4 +1,4 @@ -#include +#include #include #include #include -- cgit v1.2.3