summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/readdir_r.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-12 20:19:23 +0000
committerderaadt <deraadt@openbsd.org>2013-11-12 20:19:23 +0000
commitf54f769fe431f6590c22d8795b002c3ea2e2d668 (patch)
tree8af2a3173219d3c8176faa432c4e88185f05bcaf /lib/libc/gen/readdir_r.c
parenttwo ioctl's were disclosing kernel pointers and such. (diff)
downloadwireguard-openbsd-f54f769fe431f6590c22d8795b002c3ea2e2d668.tar.xz
wireguard-openbsd-f54f769fe431f6590c22d8795b002c3ea2e2d668.zip
put the _readdir_unlocked() prototype in an obvious place
Diffstat (limited to 'lib/libc/gen/readdir_r.c')
-rw-r--r--lib/libc/gen/readdir_r.c4
1 files changed, 1 insertions, 3 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)
{