summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/readdir_r.c4
-rw-r--r--lib/libc/gen/telldir.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/readdir_r.c b/lib/libc/gen/readdir_r.c
index cd70bd6f1bc..20ccec42508 100644
--- a/lib/libc/gen/readdir_r.c
+++ b/lib/libc/gen/readdir_r.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readdir_r.c,v 1.5 2013/11/06 22:26:14 schwarze Exp $ */
+/* $OpenBSD: readdir_r.c,v 1.6 2013/11/12 20:19:23 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,8 +35,6 @@
#include "telldir.h"
#include "thread_private.h"
-int _readdir_unlocked(DIR *, struct dirent **);
-
int
readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
{
diff --git a/lib/libc/gen/telldir.h b/lib/libc/gen/telldir.h
index 87a8b0d3501..2627387145e 100644
--- a/lib/libc/gen/telldir.h
+++ b/lib/libc/gen/telldir.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: telldir.h,v 1.7 2013/11/05 20:36:51 schwarze Exp $ */
+/* $OpenBSD: telldir.h,v 1.8 2013/11/12 20:19:23 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -47,4 +47,6 @@ struct _dirdesc {
void *dd_lock; /* mutex to protect struct */
};
+int _readdir_unlocked(DIR *, struct dirent **);
+
#endif