From 928cef96820a77291fe483e919fcbcc7abcb3319 Mon Sep 17 00:00:00 2001 From: tedu Date: Wed, 17 Apr 2013 17:40:35 +0000 Subject: add some prototypes, casts, includes, parenthesis, and whatnot to silence some warnings. --- lib/libc/gen/readdir_r.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libc/gen/readdir_r.c') 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) { -- cgit v1.2.3-59-g8ed1b