Source-Changes-HG archive

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

[src/trunk]: src avoid sys/systm.h in userland ppath.h.



details:   https://anonhg.NetBSD.org/src/rev/501cc76ac178
branches:  trunk
changeset: 770013:501cc76ac178
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Sep 30 10:23:03 2011 +0000

description:
avoid sys/systm.h in userland ppath.h.
include types.h/stdarg.h in all systm.h configs.

my amd64 build without man pages now worked at least.

diffstat:

 common/lib/libppath/ppath.c |  8 +++++---
 sys/sys/systm.h             |  4 +---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r 17e4daca88eb -r 501cc76ac178 common/lib/libppath/ppath.c
--- a/common/lib/libppath/ppath.c       Fri Sep 30 05:29:12 2011 +0000
+++ b/common/lib/libppath/ppath.c       Fri Sep 30 10:23:03 2011 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: ppath.c,v 1.2 2011/09/29 20:53:30 christos Exp $ */
-/* $Id: ppath.c,v 1.2 2011/09/29 20:53:30 christos Exp $ */
+/* $NetBSD: ppath.c,v 1.3 2011/09/30 10:23:03 mrg Exp $ */
+/* $Id: ppath.c,v 1.3 2011/09/30 10:23:03 mrg Exp $ */
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -30,9 +30,11 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$Id: ppath.c,v 1.2 2011/09/29 20:53:30 christos Exp $");
+__RCSID("$Id: ppath.c,v 1.3 2011/09/30 10:23:03 mrg Exp $");
 
+#ifdef _KERNEL
 #include <sys/systm.h>
+#endif
 #include <ppath/ppath.h>
 #include <ppath/ppath_impl.h>
 
diff -r 17e4daca88eb -r 501cc76ac178 sys/sys/systm.h
--- a/sys/sys/systm.h   Fri Sep 30 05:29:12 2011 +0000
+++ b/sys/sys/systm.h   Fri Sep 30 10:23:03 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: systm.h,v 1.249 2011/09/29 20:52:12 christos Exp $     */
+/*     $NetBSD: systm.h,v 1.250 2011/09/30 10:23:03 mrg Exp $  */
 
 /*-
  * Copyright (c) 1982, 1988, 1991, 1993
@@ -46,10 +46,8 @@
 
 #include <machine/endian.h>
 
-#ifdef _KERNEL
 #include <sys/types.h>
 #include <sys/stdarg.h>
-#endif
 
 #include <sys/device_if.h>
 



Home | Main Index | Thread Index | Old Index