From 4465796928057096f5cb5117866224faf39184cb Mon Sep 17 00:00:00 2001 From: naddy <> Date: Sat, 8 May 2010 19:16:33 +0000 Subject: * add #includes to pull in missing prototypes, as pointed out by gcc4 * fix CFLAGS syntax for make depend ok blambert@ --- src/regress/lib/libc/ieeefp/except/except.c | 3 ++- src/regress/lib/libc/stdio_threading/fgetln/Makefile | 2 +- src/regress/lib/libc/stdio_threading/fgets/Makefile | 2 +- src/regress/lib/libc/stdio_threading/fopen/Makefile | 2 +- src/regress/lib/libc/stdio_threading/fputs/Makefile | 2 +- src/regress/lib/libc/stdio_threading/fread/Makefile | 2 +- src/regress/lib/libc/stdio_threading/fwrite/Makefile | 2 +- src/regress/lib/libc/stdio_threading/include/local.h | 1 + 8 files changed, 9 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libc/ieeefp/except/except.c b/src/regress/lib/libc/ieeefp/except/except.c index 0f25cadefc..cc3dcf8e44 100644 --- a/src/regress/lib/libc/ieeefp/except/except.c +++ b/src/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 #include #include #include +#include #include #include #include diff --git a/src/regress/lib/libc/stdio_threading/fgetln/Makefile b/src/regress/lib/libc/stdio_threading/fgetln/Makefile index 216db188ef..cad51e2b23 100644 --- a/src/regress/lib/libc/stdio_threading/fgetln/Makefile +++ b/src/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 diff --git a/src/regress/lib/libc/stdio_threading/fgets/Makefile b/src/regress/lib/libc/stdio_threading/fgets/Makefile index dfd210cbf4..52310fd429 100644 --- a/src/regress/lib/libc/stdio_threading/fgets/Makefile +++ b/src/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 diff --git a/src/regress/lib/libc/stdio_threading/fopen/Makefile b/src/regress/lib/libc/stdio_threading/fopen/Makefile index 4301a83978..e51deeff1d 100644 --- a/src/regress/lib/libc/stdio_threading/fopen/Makefile +++ b/src/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 diff --git a/src/regress/lib/libc/stdio_threading/fputs/Makefile b/src/regress/lib/libc/stdio_threading/fputs/Makefile index 5542dd3979..e561745581 100644 --- a/src/regress/lib/libc/stdio_threading/fputs/Makefile +++ b/src/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 diff --git a/src/regress/lib/libc/stdio_threading/fread/Makefile b/src/regress/lib/libc/stdio_threading/fread/Makefile index 97c8816652..25196dd7ab 100644 --- a/src/regress/lib/libc/stdio_threading/fread/Makefile +++ b/src/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 diff --git a/src/regress/lib/libc/stdio_threading/fwrite/Makefile b/src/regress/lib/libc/stdio_threading/fwrite/Makefile index 5952a1f48a..e79899c475 100644 --- a/src/regress/lib/libc/stdio_threading/fwrite/Makefile +++ b/src/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 diff --git a/src/regress/lib/libc/stdio_threading/include/local.h b/src/regress/lib/libc/stdio_threading/include/local.h index 794d868071..e2ad4e31e0 100644 --- a/src/regress/lib/libc/stdio_threading/include/local.h +++ b/src/regress/lib/libc/stdio_threading/include/local.h @@ -15,6 +15,7 @@ */ #include +#include #include #include #include -- cgit v1.2.3-55-g6feb