Module Name:    src
Committed By:   joerg
Date:           Sat Apr 27 21:35:25 UTC 2013

Modified Files:
        src/include: fenv.h search.h ttyent.h wctype.h
        src/sys/arch/x86/include: float.h
        src/sys/netinet: in.h
        src/sys/netinet6: in6.h
        src/sys/sys: pset.h siginfo.h spawn.h

Log Message:
Systematically include sys/featuretest.h when _NETBSD_SOURCE is used.
Some are redundant, but make verification with grep much easier.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/include/fenv.h
cvs rdiff -u -r1.19 -r1.20 src/include/search.h
cvs rdiff -u -r1.14 -r1.15 src/include/ttyent.h
cvs rdiff -u -r1.8 -r1.9 src/include/wctype.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/include/float.h
cvs rdiff -u -r1.87 -r1.88 src/sys/netinet/in.h
cvs rdiff -u -r1.70 -r1.71 src/sys/netinet6/in6.h
cvs rdiff -u -r1.3 -r1.4 src/sys/sys/pset.h src/sys/sys/spawn.h
cvs rdiff -u -r1.23 -r1.24 src/sys/sys/siginfo.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/fenv.h
diff -u src/include/fenv.h:1.7 src/include/fenv.h:1.8
--- src/include/fenv.h:1.7	Thu Mar 22 03:06:06 2012
+++ src/include/fenv.h	Sat Apr 27 21:35:25 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: fenv.h,v 1.7 2012/03/22 03:06:06 dholland Exp $	*/
+/*	$NetBSD: fenv.h,v 1.8 2013/04/27 21:35:25 joerg Exp $	*/
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -32,6 +32,7 @@
 #ifndef _FENV_H_
 #define _FENV_H_
 
+#include <sys/featuretest.h>
 #include <machine/fenv.h>
 
 __BEGIN_DECLS

Index: src/include/search.h
diff -u src/include/search.h:1.19 src/include/search.h:1.20
--- src/include/search.h:1.19	Wed Sep 14 23:34:26 2011
+++ src/include/search.h	Sat Apr 27 21:35:25 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: search.h,v 1.19 2011/09/14 23:34:26 christos Exp $	*/
+/*	$NetBSD: search.h,v 1.20 2013/04/27 21:35:25 joerg Exp $	*/
 
 /*
  * Written by J.T. Conklin <[email protected]>
@@ -9,6 +9,7 @@
 #define _SEARCH_H_
 
 #include <sys/cdefs.h>
+#include <sys/featuretest.h>
 #include <machine/ansi.h>
 
 #ifdef	_BSD_SIZE_T_

Index: src/include/ttyent.h
diff -u src/include/ttyent.h:1.14 src/include/ttyent.h:1.15
--- src/include/ttyent.h:1.14	Mon Apr 17 23:29:21 2006
+++ src/include/ttyent.h	Sat Apr 27 21:35:25 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: ttyent.h,v 1.14 2006/04/17 23:29:21 salo Exp $	*/
+/*	$NetBSD: ttyent.h,v 1.15 2013/04/27 21:35:25 joerg Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -35,6 +35,7 @@
 #define	_TTYENT_H_
 
 #include <sys/cdefs.h>
+#include <sys/featuretest.h>
 
 #define	_PATH_TTYS	"/etc/ttys"
 

Index: src/include/wctype.h
diff -u src/include/wctype.h:1.8 src/include/wctype.h:1.9
--- src/include/wctype.h:1.8	Tue Apr 16 11:39:13 2013
+++ src/include/wctype.h	Sat Apr 27 21:35:25 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: wctype.h,v 1.8 2013/04/16 11:39:13 joerg Exp $	*/
+/*	$NetBSD: wctype.h,v 1.9 2013/04/27 21:35:25 joerg Exp $	*/
 
 /*-
  * Copyright (c)1999 Citrus Project,
@@ -32,6 +32,7 @@
 #define	_WCTYPE_H_
 
 #include <sys/cdefs.h>
+#include <sys/featuretest.h>
 #include <sys/ansi.h>
 
 #ifdef	_BSD_WINT_T_

Index: src/sys/arch/x86/include/float.h
diff -u src/sys/arch/x86/include/float.h:1.5 src/sys/arch/x86/include/float.h:1.6
--- src/sys/arch/x86/include/float.h:1.5	Thu Oct 23 23:26:06 2003
+++ src/sys/arch/x86/include/float.h	Sat Apr 27 21:35:25 2013
@@ -1,8 +1,10 @@
-/*	$NetBSD: float.h,v 1.5 2003/10/23 23:26:06 kleink Exp $	*/
+/*	$NetBSD: float.h,v 1.6 2013/04/27 21:35:25 joerg Exp $	*/
 
 #ifndef _X86_FLOAT_H_
 #define _X86_FLOAT_H_
 
+#include <sys/featuretest.h>
+
 #define	LDBL_MANT_DIG	64
 #define LDBL_EPSILON	1.0842021724855044340E-19L
 #define LDBL_DIG	18

Index: src/sys/netinet/in.h
diff -u src/sys/netinet/in.h:1.87 src/sys/netinet/in.h:1.88
--- src/sys/netinet/in.h:1.87	Fri Jun 22 14:54:35 2012
+++ src/sys/netinet/in.h	Sat Apr 27 21:35:24 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: in.h,v 1.87 2012/06/22 14:54:35 christos Exp $	*/
+/*	$NetBSD: in.h,v 1.88 2013/04/27 21:35:24 joerg Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -39,6 +39,7 @@
 #ifndef _NETINET_IN_H_
 #define	_NETINET_IN_H_
 
+#include <sys/featuretest.h>
 #include <machine/int_types.h>
 
 #ifndef uint8_t

Index: src/sys/netinet6/in6.h
diff -u src/sys/netinet6/in6.h:1.70 src/sys/netinet6/in6.h:1.71
--- src/sys/netinet6/in6.h:1.70	Fri Jun 22 14:54:35 2012
+++ src/sys/netinet6/in6.h	Sat Apr 27 21:35:24 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: in6.h,v 1.70 2012/06/22 14:54:35 christos Exp $	*/
+/*	$NetBSD: in6.h,v 1.71 2013/04/27 21:35:24 joerg Exp $	*/
 /*	$KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $	*/
 
 /*
@@ -64,6 +64,8 @@
 #ifndef _NETINET6_IN6_H_
 #define _NETINET6_IN6_H_
 
+#include <sys/featuretest.h>
+
 #ifndef __KAME_NETINET_IN_H_INCLUDED_
 #error "do not include netinet6/in6.h directly, include netinet/in.h.  see RFC2553"
 #endif

Index: src/sys/sys/pset.h
diff -u src/sys/sys/pset.h:1.3 src/sys/sys/pset.h:1.4
--- src/sys/sys/pset.h:1.3	Mon May 26 17:45:51 2008
+++ src/sys/sys/pset.h	Sat Apr 27 21:35:24 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: pset.h,v 1.3 2008/05/26 17:45:51 rmind Exp $	*/
+/*	$NetBSD: pset.h,v 1.4 2013/04/27 21:35:24 joerg Exp $	*/
 
 /*
  * Copyright (c) 2008, Mindaugas Rasiukevicius <rmind at NetBSD org>
@@ -30,6 +30,7 @@
 #define _SYS_PSET_H_
 
 #include <sys/cdefs.h>
+#include <sys/featuretest.h>
 #include <sys/types.h>
 
 /* Types of processor-sets */
Index: src/sys/sys/spawn.h
diff -u src/sys/sys/spawn.h:1.3 src/sys/sys/spawn.h:1.4
--- src/sys/sys/spawn.h:1.3	Mon Apr 30 21:19:58 2012
+++ src/sys/sys/spawn.h	Sat Apr 27 21:35:25 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: spawn.h,v 1.3 2012/04/30 21:19:58 rmind Exp $	*/
+/*	$NetBSD: spawn.h,v 1.4 2013/04/27 21:35:25 joerg Exp $	*/
 
 /*-
  * Copyright (c) 2008 Ed Schouten <[email protected]>
@@ -32,6 +32,7 @@
 #define _SYS_SPAWN_H_
 
 #include <sys/cdefs.h>
+#include <sys/featuretest.h>
 #include <sys/types.h>
 #include <sys/sigtypes.h>
 #include <sys/signal.h>

Index: src/sys/sys/siginfo.h
diff -u src/sys/sys/siginfo.h:1.23 src/sys/sys/siginfo.h:1.24
--- src/sys/sys/siginfo.h:1.23	Tue Feb 12 02:24:42 2013
+++ src/sys/sys/siginfo.h	Sat Apr 27 21:35:24 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: siginfo.h,v 1.23 2013/02/12 02:24:42 matt Exp $	 */
+/*	$NetBSD: siginfo.h,v 1.24 2013/04/27 21:35:24 joerg Exp $	 */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -33,6 +33,7 @@
 #define	_SYS_SIGINFO_H_
 
 #include <machine/signal.h>
+#include <sys/featuretest.h>
 #ifdef _KERNEL
 #include <sys/queue.h>
 #endif

Reply via email to