diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-24 17:46:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-03-24 17:46:59 +0000 |
commit | d1c654a77a81867c7ce3b0367c67cb31bf817b10 (patch) | |
tree | 9a3ac1a3a305699ed7404e7cec0b355a4e646a0a | |
parent | 946ad2939808cfad127432a624243a45afad805e (diff) |
I can see no reason for #ifndef _KERNEL check in a /usr/include
(ie. non-kernel) .h file
-rw-r--r-- | include/dirent.h | 5 |
1 files changed, 1 insertions, 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_ */ |