diff options
| author | 2013-04-17 17:40:35 +0000 | |
|---|---|---|
| committer | 2013-04-17 17:40:35 +0000 | |
| commit | 928cef96820a77291fe483e919fcbcc7abcb3319 (patch) | |
| tree | 6d2f17e88a0caab51454d7a136558371549f03ca /lib/libc/gen/readdir_r.c | |
| parent | silence some warnings by adding prototypes, casts, and headers as (diff) | |
| download | wireguard-openbsd-928cef96820a77291fe483e919fcbcc7abcb3319.tar.xz wireguard-openbsd-928cef96820a77291fe483e919fcbcc7abcb3319.zip | |
add some prototypes, casts, includes, parenthesis, and whatnot to
silence some warnings.
Diffstat (limited to 'lib/libc/gen/readdir_r.c')
| -rw-r--r-- | lib/libc/gen/readdir_r.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/readdir_r.c b/lib/libc/gen/readdir_r.c index f32d08a7044..06170fcec45 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.2 2012/03/22 04:11:53 matthew Exp $ */ +/* $OpenBSD: readdir_r.c,v 1.3 2013/04/17 17:40:35 tedu Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -35,6 +35,8 @@ #include "telldir.h" #include "thread_private.h" +int _readdir_unlocked(DIR *, struct dirent **, int); + int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result) { |
