From 98fb0d8d89529da91d4555542280382af34ef00b Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sun, 24 Mar 2013 17:46:58 +0000 Subject: [PATCH] I can see no reason for #ifndef _KERNEL check in a /usr/include (ie. non-kernel) .h file --- src/include/dirent.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/include/dirent.h b/src/include/dirent.h index f5d90842..4ff35215 100644 --- a/src/include/dirent.h +++ b/src/include/dirent.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dirent.h,v 1.29 2012/11/29 02:15:44 guenther Exp $ */ +/* $OpenBSD: dirent.h,v 1.30 2013/03/24 17:46:58 deraadt Exp $ */ /* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */ /*- @@ -73,7 +73,6 @@ typedef struct _dirdesc DIR; #endif /* __BSD_VISIBLE */ -#ifndef _KERNEL __BEGIN_DECLS DIR *opendir(const char *); #if __POSIX_VISIBLE >= 200809 @@ -108,6 +107,4 @@ int dirfd(DIR *); #endif __END_DECLS -#endif /* !_KERNEL */ - #endif /* !_DIRENT_H_ */