diff options
author | 2001-09-20 16:43:15 +0000 | |
---|---|---|
committer | 2001-09-20 16:43:15 +0000 | |
commit | 8445c53715e7030056b779e8ab40efb7820981f2 (patch) | |
tree | 5749b4ecbd3e0330cda0a63a2080802346ac5260 /regress/lib/libpthread/stdarg/stdarg.c | |
parent | the use of arc4random() in ether_ifattach() is wrong as randomattach() (diff) | |
download | wireguard-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/stdarg/stdarg.c')
-rw-r--r-- | regress/lib/libpthread/stdarg/stdarg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libpthread/stdarg/stdarg.c b/regress/lib/libpthread/stdarg/stdarg.c index 5e10f6d3cd8..d1820bdd080 100644 --- a/regress/lib/libpthread/stdarg/stdarg.c +++ b/regress/lib/libpthread/stdarg/stdarg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stdarg.c,v 1.2 2001/08/15 14:48:31 fgsch Exp $ */ +/* $OpenBSD: stdarg.c,v 1.3 2001/09/20 16:43:16 todd Exp $ */ /* David Leonard <d@openbsd.org>, 2001. Public Domain. */ /* @@ -8,6 +8,7 @@ #include <pthread.h> #include <stdio.h> #include <stdarg.h> +#include <stdlib.h> #include "test.h" #define EQ(v,exp) _CHECK(v, == exp, NULL) |