diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-20 16:43:17 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-20 16:43:17 +0000 |
commit | 6f37323ba7b6bb6a6b9ec40c4c94eb3706bb16a7 (patch) | |
tree | 2e8240ce28e38ebfbd56fba15360eb491d7b9af6 /regress/lib/libc_r/pthread_create/pthread_create.c | |
parent | bc86ffda7a6a90b9c49f5428131dac2e1fe2f0b1 (diff) |
per man page and gcc 3.0.1, exit requires prototype from stdlib.h
Diffstat (limited to 'regress/lib/libc_r/pthread_create/pthread_create.c')
-rw-r--r-- | regress/lib/libc_r/pthread_create/pthread_create.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc_r/pthread_create/pthread_create.c b/regress/lib/libc_r/pthread_create/pthread_create.c index ccc2a6c4292..9b82d0945f5 100644 --- a/regress/lib/libc_r/pthread_create/pthread_create.c +++ b/regress/lib/libc_r/pthread_create/pthread_create.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread_create.c,v 1.1 2001/08/15 14:37:16 fgsch Exp $ */ +/* $OpenBSD: pthread_create.c,v 1.2 2001/09/20 16:43:15 todd Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors, * proven@mit.edu All rights reserved. @@ -40,6 +40,7 @@ #include <pthread.h> #include <stdio.h> +#include <stdlib.h> #include "test.h" void* new_thread(void* arg) |