summaryrefslogtreecommitdiffstats
path: root/regress/lib/libpthread/pthread_create/pthread_create.c
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2001-09-20 16:43:15 +0000
committertodd <todd@openbsd.org>2001-09-20 16:43:15 +0000
commit8445c53715e7030056b779e8ab40efb7820981f2 (patch)
tree5749b4ecbd3e0330cda0a63a2080802346ac5260 /regress/lib/libpthread/pthread_create/pthread_create.c
parentthe use of arc4random() in ether_ifattach() is wrong as randomattach() (diff)
downloadwireguard-openbsd-8445c53715e7030056b779e8ab40efb7820981f2.tar.xz
wireguard-openbsd-8445c53715e7030056b779e8ab40efb7820981f2.zip
per man page and gcc 3.0.1, exit requires prototype from stdlib.h
Diffstat (limited to 'regress/lib/libpthread/pthread_create/pthread_create.c')
-rw-r--r--regress/lib/libpthread/pthread_create/pthread_create.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libpthread/pthread_create/pthread_create.c b/regress/lib/libpthread/pthread_create/pthread_create.c
index 5bf965ae158..9b82d0945f5 100644
--- a/regress/lib/libpthread/pthread_create/pthread_create.c
+++ b/regress/lib/libpthread/pthread_create/pthread_create.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread_create.c,v 1.1.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)