diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2010-05-08 19:16:34 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2010-05-08 19:16:34 +0000 |
commit | 45e01ef2bdb2e4fdeb81223de22f509dfcf03b89 (patch) | |
tree | eeafae97e4f797fbe57ea5e45563e16f40913b19 | |
parent | df39f8d38fd4cab767e86d7a18b3a6804ab90656 (diff) |
* add #includes to pull in missing prototypes, as pointed out by gcc4
* fix CFLAGS syntax for make depend
ok blambert@
-rw-r--r-- | regress/lib/libc/ieeefp/except/except.c | 3 | ||||
-rw-r--r-- | regress/lib/libc/stdio_threading/fgetln/Makefile | 2 | ||||
-rw-r--r-- | regress/lib/libc/stdio_threading/fgets/Makefile | 2 | ||||
-rw-r--r-- | regress/lib/libc/stdio_threading/fopen/Makefile | 2 | ||||
-rw-r--r-- | regress/lib/libc/stdio_threading/fputs/Makefile | 2 | ||||
-rw-r--r-- | regress/lib/libc/stdio_threading/fread/Makefile | 2 | ||||
-rw-r--r-- | regress/lib/libc/stdio_threading/fwrite/Makefile | 2 | ||||
-rw-r--r-- | regress/lib/libc/stdio_threading/include/local.h | 1 |
8 files changed, 9 insertions, 7 deletions
diff --git a/regress/lib/libc/ieeefp/except/except.c b/regress/lib/libc/ieeefp/except/except.c index 0f25cadefc9..cc3dcf8e44b 100644 --- a/regress/lib/libc/ieeefp/except/except.c +++ b/regress/lib/libc/ieeefp/except/except.c @@ -1,9 +1,10 @@ -/* $OpenBSD: except.c,v 1.11 2007/10/22 21:07:10 miod Exp $ */ +/* $OpenBSD: except.c,v 1.12 2010/05/08 19:16:33 naddy Exp $ */ #include <sys/types.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <signal.h> #include <assert.h> #include <ieeefp.h> diff --git a/regress/lib/libc/stdio_threading/fgetln/Makefile b/regress/lib/libc/stdio_threading/fgetln/Makefile index 216db188ef0..cad51e2b237 100644 --- a/regress/lib/libc/stdio_threading/fgetln/Makefile +++ b/regress/lib/libc/stdio_threading/fgetln/Makefile @@ -1,6 +1,6 @@ TOPDIR=${.CURDIR} PROG=fgetln_test -CFLAGS+=-I ${TOPDIR}/../include/ +CFLAGS+=-I${TOPDIR}/../include/ LDFLAGS+=-lpthread .include <bsd.regress.mk> diff --git a/regress/lib/libc/stdio_threading/fgets/Makefile b/regress/lib/libc/stdio_threading/fgets/Makefile index dfd210cbf41..52310fd429a 100644 --- a/regress/lib/libc/stdio_threading/fgets/Makefile +++ b/regress/lib/libc/stdio_threading/fgets/Makefile @@ -1,6 +1,6 @@ TOPDIR=${.CURDIR} PROG=fgets_test -CFLAGS+=-I ${TOPDIR}/../include/ +CFLAGS+=-I${TOPDIR}/../include/ LDFLAGS+=-lpthread .include <bsd.regress.mk> diff --git a/regress/lib/libc/stdio_threading/fopen/Makefile b/regress/lib/libc/stdio_threading/fopen/Makefile index 4301a83978f..e51deeff1d5 100644 --- a/regress/lib/libc/stdio_threading/fopen/Makefile +++ b/regress/lib/libc/stdio_threading/fopen/Makefile @@ -1,6 +1,6 @@ TOPDIR=${.CURDIR} PROG=fopen_test -CFLAGS+=-I ${TOPDIR}/../include/ +CFLAGS+=-I${TOPDIR}/../include/ LDFLAGS+=-lpthread .include <bsd.regress.mk> diff --git a/regress/lib/libc/stdio_threading/fputs/Makefile b/regress/lib/libc/stdio_threading/fputs/Makefile index 5542dd3979d..e5617455812 100644 --- a/regress/lib/libc/stdio_threading/fputs/Makefile +++ b/regress/lib/libc/stdio_threading/fputs/Makefile @@ -1,6 +1,6 @@ TOPDIR=${.CURDIR} PROG=fputs_test -CFLAGS+=-I ${TOPDIR}/../include/ +CFLAGS+=-I${TOPDIR}/../include/ LDFLAGS+=-lpthread .include <bsd.regress.mk> diff --git a/regress/lib/libc/stdio_threading/fread/Makefile b/regress/lib/libc/stdio_threading/fread/Makefile index 97c8816652e..25196dd7aba 100644 --- a/regress/lib/libc/stdio_threading/fread/Makefile +++ b/regress/lib/libc/stdio_threading/fread/Makefile @@ -1,6 +1,6 @@ TOPDIR=${.CURDIR} PROG=fread_test -CFLAGS+=-I ${TOPDIR}/../include/ +CFLAGS+=-I${TOPDIR}/../include/ LDFLAGS+=-lpthread .include <bsd.regress.mk> diff --git a/regress/lib/libc/stdio_threading/fwrite/Makefile b/regress/lib/libc/stdio_threading/fwrite/Makefile index 5952a1f48a0..e79899c4757 100644 --- a/regress/lib/libc/stdio_threading/fwrite/Makefile +++ b/regress/lib/libc/stdio_threading/fwrite/Makefile @@ -1,6 +1,6 @@ TOPDIR=${.CURDIR} PROG=fwrite_test -CFLAGS+=-I ${TOPDIR}/../include/ +CFLAGS+=-I${TOPDIR}/../include/ LDFLAGS+=-lpthread .include <bsd.regress.mk> diff --git a/regress/lib/libc/stdio_threading/include/local.h b/regress/lib/libc/stdio_threading/include/local.h index 794d8680719..e2ad4e31e02 100644 --- a/regress/lib/libc/stdio_threading/include/local.h +++ b/regress/lib/libc/stdio_threading/include/local.h @@ -15,6 +15,7 @@ */ #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> #include <pthread.h> |