diff options
author | 2013-11-12 20:19:23 +0000 | |
---|---|---|
committer | 2013-11-12 20:19:23 +0000 | |
commit | f54f769fe431f6590c22d8795b002c3ea2e2d668 (patch) | |
tree | 8af2a3173219d3c8176faa432c4e88185f05bcaf /lib/libc/gen/readdir_r.c | |
parent | two ioctl's were disclosing kernel pointers and such. (diff) | |
download | wireguard-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.c | 4 |
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) { |