Browse Source

I can see no reason for #ifndef _KERNEL check in a /usr/include

(ie. non-kernel) .h file
OPENBSD_5_4
deraadt 11 years ago
parent
commit
98fb0d8d89
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/include/dirent.h

+ 1
- 4
src/include/dirent.h View File

@ -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 $ */ /* $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 */ #endif /* __BSD_VISIBLE */
#ifndef _KERNEL
__BEGIN_DECLS __BEGIN_DECLS
DIR *opendir(const char *); DIR *opendir(const char *);
#if __POSIX_VISIBLE >= 200809 #if __POSIX_VISIBLE >= 200809
@ -108,6 +107,4 @@ int dirfd(DIR *);
#endif #endif
__END_DECLS __END_DECLS
#endif /* !_KERNEL */
#endif /* !_DIRENT_H_ */ #endif /* !_DIRENT_H_ */

Loading…
Cancel
Save