Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Move the <sys/queue.h> include into a kernel-only se...



details:   https://anonhg.NetBSD.org/src/rev/90af1c38e094
branches:  trunk
changeset: 466910:90af1c38e094
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Jan 06 10:21:21 2020 +0000

description:
Move the <sys/queue.h> include into a kernel-only section.

diffstat:

 sys/sys/sched.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 6fdc25a35724 -r 90af1c38e094 sys/sys/sched.h
--- a/sys/sys/sched.h   Mon Jan 06 08:36:08 2020 +0000
+++ b/sys/sys/sched.h   Mon Jan 06 10:21:21 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sched.h,v 1.84 2020/01/06 01:37:57 oster Exp $ */
+/*     $NetBSD: sched.h,v 1.85 2020/01/06 10:21:21 martin Exp $        */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2007, 2008, 2019
@@ -71,7 +71,6 @@
 #define        _SYS_SCHED_H_
 
 #include <sys/featuretest.h>
-#include <sys/queue.h>
 #include <sys/types.h>
 
 #if defined(_KERNEL_OPT)
@@ -145,6 +144,7 @@
 
 #include <sys/mutex.h>
 #include <sys/time.h>
+#include <sys/queue.h>
 
 /*
  * Per-CPU scheduler state.  Field markings and the corresponding locks: 



Home | Main Index | Thread Index | Old Index