Date: Tue, 25 Jul 2017 06:59:36 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r321460 - head/sys/fs/fdescfs Message-ID: <201707250659.v6P6xa88035799@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Tue Jul 25 06:59:35 2017 New Revision: 321460 URL: https://svnweb.freebsd.org/changeset/base/321460 Log: Replace unnecessary _KERNEL by double-include protection. MFC after: 2 week Modified: head/sys/fs/fdescfs/fdesc.h Modified: head/sys/fs/fdescfs/fdesc.h ============================================================================== --- head/sys/fs/fdescfs/fdesc.h Tue Jul 25 04:13:43 2017 (r321459) +++ head/sys/fs/fdescfs/fdesc.h Tue Jul 25 06:59:35 2017 (r321460) @@ -34,7 +34,9 @@ * $FreeBSD$ */ -#ifdef _KERNEL +#ifndef _FS_FDESC_H_ +#define _FS_FDESC_H_ + /* Private mount flags for fdescfs. */ #define FMNT_UNMOUNTF 0x01 struct fdescmount { @@ -66,4 +68,4 @@ extern vfs_init_t fdesc_init; extern vfs_uninit_t fdesc_uninit; extern int fdesc_allocvp(fdntype, unsigned, int, struct mount *, struct vnode **); -#endif /* _KERNEL */ +#endif /* !_FS_FDESC_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707250659.v6P6xa88035799>