summaryrefslogtreecommitdiff
path: root/openbsd-compat/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2011-05-06 10:43:50 +1000
committerDarren Tucker <dtucker@zip.com.au>2011-05-06 10:43:50 +1000
commit343f75fa1968a84747f808c02bc81fc6c4f51b07 (patch)
tree27c37937ea7670a8c651bf53c79d330e61d9ce62 /openbsd-compat/regress
parent9abb697d4fd4fffe7961db0bebb133aacf69a759 (diff)
- (dtucker) [openbsd-compat/regress/closefromtest.c] Bug #1875: add prototype
for closefrom() in test code. Report from Dan Wallis via Gentoo.
Diffstat (limited to 'openbsd-compat/regress')
-rw-r--r--openbsd-compat/regress/closefromtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/regress/closefromtest.c b/openbsd-compat/regress/closefromtest.c
index 145b09d7..82ffeb9a 100644
--- a/openbsd-compat/regress/closefromtest.c
+++ b/openbsd-compat/regress/closefromtest.c
@@ -24,6 +24,8 @@
#define NUM_OPENS 10
+int closefrom(int);
+
void
fail(char *msg)
{