From: Sascha Wildner Date: Sun, 8 May 2016 19:12:57 +0000 (+0200) Subject: Remove some duplicated #include's in thread.h and queue.h. X-Git-Tag: v4.6.0rc~446 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/3c7cc7673e1474402edf06e077dd150e45e3361e Remove some duplicated #include's in thread.h and queue.h. --- diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 94278d7cc6..4d1ae3d69d 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -33,8 +33,9 @@ #ifndef _SYS_MOUNT_H_ #define _SYS_MOUNT_H_ -#include +#include #include +#include #ifndef _KERNEL #if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) @@ -43,9 +44,6 @@ #endif /* !_KERNEL */ #if defined(_KERNEL) || defined(_KERNEL_STRUCTURES) -#ifndef _SYS_QUEUE_H_ -#include -#endif #ifndef _SYS_LOCK_H_ #include #endif @@ -456,9 +454,6 @@ struct nfs_public { * type of filesystem supported by the kernel. These are searched at * mount time to identify the requested filesystem. */ -#ifndef _SYS_QUEUE_H_ -#include -#endif struct vfsconf { struct vfsops *vfc_vfsops; /* filesystem operations vector */ char vfc_name[MFSNAMELEN]; /* filesystem type name */ diff --git a/sys/sys/thread.h b/sys/sys/thread.h index 643e242324..3fcfc0b896 100644 --- a/sys/sys/thread.h +++ b/sys/sys/thread.h @@ -69,9 +69,6 @@ typedef TAILQ_HEAD(lwkt_queue, thread) lwkt_queue; * kernel nor the user version. */ #if defined(_KERNEL) || defined(_KERNEL_STRUCTURES) -#ifndef _MACHINE_THREAD_H_ -#include /* md_thread */ -#endif #ifndef _MACHINE_FRAME_H_ #include #endif