From d1c654a77a81867c7ce3b0367c67cb31bf817b10 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 24 Mar 2013 17:46:59 +0000 Subject: I can see no reason for #ifndef _KERNEL check in a /usr/include (ie. non-kernel) .h file --- include/dirent.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/dirent.h b/include/dirent.h index f5d90842893..4ff35215b52 100644 --- a/include/dirent.h +++ b/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_ */ -- cgit v1.2.3