summaryrefslogtreecommitdiff
path: root/tests/exit1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exit1.c')
-rw-r--r--tests/exit1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/exit1.c b/tests/exit1.c
index 758852a..251a46c 100644
--- a/tests/exit1.c
+++ b/tests/exit1.c
@@ -4,14 +4,14 @@
* Depends on API functions: None.
*/
-#include <pthread.h>
+#include "test.h"
int
main(int argc, char * argv[])
{
- /* A simple test firstly. */
+ /* A simple test first. */
pthread_exit((void *) 0);
/* Not reached */
- return 1;
+ assert(0);
}