summaryrefslogtreecommitdiffstats
path: root/include/dirent.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>1999-11-29 19:12:50 +0000
committeralfred <alfred@FreeBSD.org>1999-11-29 19:12:50 +0000
commitf7d7085dbeec7f40c137f190df9dc78b149e8700 (patch)
tree24ad09a86004895427458929f86e421378a1ee5c /include/dirent.h
parent903b2c868c14cd85dd3b2e2675969b9cb17f94ea (diff)
downloadFreeBSD-src-f7d7085dbeec7f40c137f190df9dc78b149e8700.zip
FreeBSD-src-f7d7085dbeec7f40c137f190df9dc78b149e8700.tar.gz
style fixes, remove extra braces.
readdir_r is not POSIX according to POSIX_SOURCE, bruce says: > readdir_r() is in the _POSIX_SOURCE section, but is not a POSIX.1-1990 > function. It's POSIX.1-1996 so it should be under a different feature > test which we don't support yet. make sure errno is saved so that its contents are cleared unless necessary. Submitted by: bde
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/dirent.h b/include/dirent.h
index f36b44f..7dc16e7 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -31,9 +31,7 @@
* SUCH DAMAGE.
*
* @(#)dirent.h 8.2 (Berkeley) 7/28/94
- *
* $FreeBSD$
- *
*/
#ifndef _DIRENT_H_
@@ -97,8 +95,8 @@ int scandir __P((const char *, struct dirent ***,
int (*)(struct dirent *), int (*)(const void *, const void *)));
int alphasort __P((const void *, const void *));
int getdirentries __P((int, char *, int, long *));
-#endif /* not POSIX */
int readdir_r __P((DIR *, struct dirent *, struct dirent **));
+#endif /* not POSIX */
__END_DECLS
#endif /* !KERNEL */
OpenPOWER on IntegriCloud