summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/stdio_threading
diff options
context:
space:
mode:
authornaddy <>2010-05-08 19:16:33 +0000
committernaddy <>2010-05-08 19:16:33 +0000
commit4465796928057096f5cb5117866224faf39184cb (patch)
tree5ecc31f10d33950d042c0820cf3c51a9e5e3a6f9 /src/regress/lib/libc/stdio_threading
parentd4d8a46e5dfdcab6f77a0e71f369dd8a743a5fb2 (diff)
downloadopenbsd-4465796928057096f5cb5117866224faf39184cb.tar.gz
openbsd-4465796928057096f5cb5117866224faf39184cb.tar.bz2
openbsd-4465796928057096f5cb5117866224faf39184cb.zip
* add #includes to pull in missing prototypes, as pointed out by gcc4
* fix CFLAGS syntax for make depend ok blambert@
Diffstat (limited to 'src/regress/lib/libc/stdio_threading')
-rw-r--r--src/regress/lib/libc/stdio_threading/fgetln/Makefile2
-rw-r--r--src/regress/lib/libc/stdio_threading/fgets/Makefile2
-rw-r--r--src/regress/lib/libc/stdio_threading/fopen/Makefile2
-rw-r--r--src/regress/lib/libc/stdio_threading/fputs/Makefile2
-rw-r--r--src/regress/lib/libc/stdio_threading/fread/Makefile2
-rw-r--r--src/regress/lib/libc/stdio_threading/fwrite/Makefile2
-rw-r--r--src/regress/lib/libc/stdio_threading/include/local.h1
7 files changed, 7 insertions, 6 deletions
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 @@
1TOPDIR=${.CURDIR} 1TOPDIR=${.CURDIR}
2PROG=fgetln_test 2PROG=fgetln_test
3CFLAGS+=-I ${TOPDIR}/../include/ 3CFLAGS+=-I${TOPDIR}/../include/
4LDFLAGS+=-lpthread 4LDFLAGS+=-lpthread
5 5
6.include <bsd.regress.mk> 6.include <bsd.regress.mk>
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 @@
1TOPDIR=${.CURDIR} 1TOPDIR=${.CURDIR}
2PROG=fgets_test 2PROG=fgets_test
3CFLAGS+=-I ${TOPDIR}/../include/ 3CFLAGS+=-I${TOPDIR}/../include/
4LDFLAGS+=-lpthread 4LDFLAGS+=-lpthread
5 5
6.include <bsd.regress.mk> 6.include <bsd.regress.mk>
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 @@
1TOPDIR=${.CURDIR} 1TOPDIR=${.CURDIR}
2PROG=fopen_test 2PROG=fopen_test
3CFLAGS+=-I ${TOPDIR}/../include/ 3CFLAGS+=-I${TOPDIR}/../include/
4LDFLAGS+=-lpthread 4LDFLAGS+=-lpthread
5 5
6.include <bsd.regress.mk> 6.include <bsd.regress.mk>
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 @@
1TOPDIR=${.CURDIR} 1TOPDIR=${.CURDIR}
2PROG=fputs_test 2PROG=fputs_test
3CFLAGS+=-I ${TOPDIR}/../include/ 3CFLAGS+=-I${TOPDIR}/../include/
4LDFLAGS+=-lpthread 4LDFLAGS+=-lpthread
5 5
6.include <bsd.regress.mk> 6.include <bsd.regress.mk>
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 @@
1TOPDIR=${.CURDIR} 1TOPDIR=${.CURDIR}
2PROG=fread_test 2PROG=fread_test
3CFLAGS+=-I ${TOPDIR}/../include/ 3CFLAGS+=-I${TOPDIR}/../include/
4LDFLAGS+=-lpthread 4LDFLAGS+=-lpthread
5 5
6.include <bsd.regress.mk> 6.include <bsd.regress.mk>
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 @@
1TOPDIR=${.CURDIR} 1TOPDIR=${.CURDIR}
2PROG=fwrite_test 2PROG=fwrite_test
3CFLAGS+=-I ${TOPDIR}/../include/ 3CFLAGS+=-I${TOPDIR}/../include/
4LDFLAGS+=-lpthread 4LDFLAGS+=-lpthread
5 5
6.include <bsd.regress.mk> 6.include <bsd.regress.mk>
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 @@
15 */ 15 */
16 16
17#include <stdio.h> 17#include <stdio.h>
18#include <stdlib.h>
18#include <string.h> 19#include <string.h>
19#include <unistd.h> 20#include <unistd.h>
20#include <pthread.h> 21#include <pthread.h>