Author: dchagin
Date: Thu Aug 10 05:35:45 2017
New Revision: 322339
URL: https://svnweb.freebsd.org/changeset/base/322339

Log:
  MFC r321460:
  
  Replace unnecessary _KERNEL by double-include protection.

Modified:
  stable/11/sys/fs/fdescfs/fdesc.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/fs/fdescfs/fdesc.h
==============================================================================
--- stable/11/sys/fs/fdescfs/fdesc.h    Thu Aug 10 03:43:23 2017        
(r322338)
+++ stable/11/sys/fs/fdescfs/fdesc.h    Thu Aug 10 05:35:45 2017        
(r322339)
@@ -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_ */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to