summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-12-10 01:15:03 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-12-10 01:15:03 +0000
commit8f0cfa27d663f63d55199b1e5cfc60fb60d0b644 (patch)
treed69c6db8fa507ce0d05b05d79d2492da1faef59c /lib
parent0d45787e277d38b2d40639aa72603d75a9fafc17 (diff)
use sys/cdefs.h; pointed out by theo
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/alpha/gen/ldexp.c4
-rw-r--r--lib/libc/arch/arm/gen/fabs.c4
-rw-r--r--lib/libc/arch/powerpc/gen/fabs.c4
-rw-r--r--lib/libc/arch/powerpc/gen/ldexp.c4
-rw-r--r--lib/libc/arch/sh/gen/fabs.c4
-rw-r--r--lib/libc/arch/sh/gen/ldexp.c4
-rw-r--r--lib/libc/arch/sparc/gen/ldexp.c4
-rw-r--r--lib/libc/arch/vax/gen/fpclassify.c4
-rw-r--r--lib/libc/arch/vax/gen/frexp.c4
-rw-r--r--lib/libc/arch/vax/gen/isfinite.c4
-rw-r--r--lib/libc/arch/vax/gen/isinf.c4
-rw-r--r--lib/libc/arch/vax/gen/isnan.c4
-rw-r--r--lib/libc/arch/vax/gen/isnormal.c4
-rw-r--r--lib/libc/arch/vax/gen/signbit.c4
-rw-r--r--lib/libc/gen/fpclassify.c4
-rw-r--r--lib/libc/gen/frexp.c4
-rw-r--r--lib/libc/gen/isfinite.c4
-rw-r--r--lib/libc/gen/isinf.c4
-rw-r--r--lib/libc/gen/isnan.c4
-rw-r--r--lib/libc/gen/isnormal.c4
-rw-r--r--lib/libc/gen/signbit.c4
21 files changed, 42 insertions, 42 deletions
diff --git a/lib/libc/arch/alpha/gen/ldexp.c b/lib/libc/arch/alpha/gen/ldexp.c
index c54e6653043..66cf9ccd311 100644
--- a/lib/libc/arch/alpha/gen/ldexp.c
+++ b/lib/libc/arch/alpha/gen/ldexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.c,v 1.5 2008/12/09 20:32:06 martynas Exp $ */
+/* $OpenBSD: ldexp.c,v 1.6 2008/12/10 01:15:01 martynas Exp $ */
/* $NetBSD: ldexp.c,v 1.1 1995/02/10 17:50:24 cgd Exp $ */
/*
@@ -29,7 +29,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <errno.h>
#include <math.h>
diff --git a/lib/libc/arch/arm/gen/fabs.c b/lib/libc/arch/arm/gen/fabs.c
index b018e176ce3..1c39d2b10f6 100644
--- a/lib/libc/arch/arm/gen/fabs.c
+++ b/lib/libc/arch/arm/gen/fabs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fabs.c,v 1.4 2008/12/09 20:21:06 martynas Exp $ */
+/* $OpenBSD: fabs.c,v 1.5 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -15,7 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/ieee.h>
diff --git a/lib/libc/arch/powerpc/gen/fabs.c b/lib/libc/arch/powerpc/gen/fabs.c
index 7fdcf7295a5..b62d68c81fc 100644
--- a/lib/libc/arch/powerpc/gen/fabs.c
+++ b/lib/libc/arch/powerpc/gen/fabs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fabs.c,v 1.3 2008/12/09 20:21:06 martynas Exp $ */
+/* $OpenBSD: fabs.c,v 1.4 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt
@@ -25,7 +25,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <math.h>
double
diff --git a/lib/libc/arch/powerpc/gen/ldexp.c b/lib/libc/arch/powerpc/gen/ldexp.c
index cfe71da30a2..0a7bf70558a 100644
--- a/lib/libc/arch/powerpc/gen/ldexp.c
+++ b/lib/libc/arch/powerpc/gen/ldexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.c,v 1.5 2008/12/09 20:32:06 martynas Exp $ */
+/* $OpenBSD: ldexp.c,v 1.6 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <errno.h>
diff --git a/lib/libc/arch/sh/gen/fabs.c b/lib/libc/arch/sh/gen/fabs.c
index f83d28ec053..8cc30ca300c 100644
--- a/lib/libc/arch/sh/gen/fabs.c
+++ b/lib/libc/arch/sh/gen/fabs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fabs.c,v 1.5 2008/12/09 20:21:06 martynas Exp $ */
+/* $OpenBSD: fabs.c,v 1.6 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#if !defined(__SH4__) || defined(__SH4_NOFPU__)
#include <sys/types.h>
#include <machine/ieee.h>
diff --git a/lib/libc/arch/sh/gen/ldexp.c b/lib/libc/arch/sh/gen/ldexp.c
index df9c653b607..574a3aae0b7 100644
--- a/lib/libc/arch/sh/gen/ldexp.c
+++ b/lib/libc/arch/sh/gen/ldexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.c,v 1.2 2008/12/09 20:32:06 martynas Exp $ */
+/* $OpenBSD: ldexp.c,v 1.3 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <errno.h>
diff --git a/lib/libc/arch/sparc/gen/ldexp.c b/lib/libc/arch/sparc/gen/ldexp.c
index 94e64791891..a12b322d122 100644
--- a/lib/libc/arch/sparc/gen/ldexp.c
+++ b/lib/libc/arch/sparc/gen/ldexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.c,v 1.5 2008/12/09 20:32:06 martynas Exp $ */
+/* $OpenBSD: ldexp.c,v 1.6 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <errno.h>
diff --git a/lib/libc/arch/vax/gen/fpclassify.c b/lib/libc/arch/vax/gen/fpclassify.c
index 1ed7458fad6..eaba629f981 100644
--- a/lib/libc/arch/vax/gen/fpclassify.c
+++ b/lib/libc/arch/vax/gen/fpclassify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpclassify.c,v 1.2 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: fpclassify.c,v 1.3 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -15,7 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/vaxfp.h>
#include <math.h>
diff --git a/lib/libc/arch/vax/gen/frexp.c b/lib/libc/arch/vax/gen/frexp.c
index 70ddf96e424..bf3ce08f3a7 100644
--- a/lib/libc/arch/vax/gen/frexp.c
+++ b/lib/libc/arch/vax/gen/frexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frexp.c,v 1.6 2008/12/09 20:32:06 martynas Exp $ */
+/* $OpenBSD: frexp.c,v 1.7 2008/12/10 01:15:02 martynas Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <sys/types.h>
#include <math.h>
diff --git a/lib/libc/arch/vax/gen/isfinite.c b/lib/libc/arch/vax/gen/isfinite.c
index cb54faf4fbb..3fb7b67f527 100644
--- a/lib/libc/arch/vax/gen/isfinite.c
+++ b/lib/libc/arch/vax/gen/isfinite.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isfinite.c,v 1.2 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: isfinite.c,v 1.3 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) Martynas Venckus <martynas@openbsd.org>
*
@@ -15,7 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <math.h>
/* ARGSUSED */
diff --git a/lib/libc/arch/vax/gen/isinf.c b/lib/libc/arch/vax/gen/isinf.c
index bda4f90a0e7..f19a0b08337 100644
--- a/lib/libc/arch/vax/gen/isinf.c
+++ b/lib/libc/arch/vax/gen/isinf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isinf.c,v 1.8 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: isinf.c,v 1.9 2008/12/10 01:15:02 martynas Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -29,7 +29,7 @@
* SUCH DAMAGE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <math.h>
/* ARGSUSED */
diff --git a/lib/libc/arch/vax/gen/isnan.c b/lib/libc/arch/vax/gen/isnan.c
index b9961783d35..bcc452025fa 100644
--- a/lib/libc/arch/vax/gen/isnan.c
+++ b/lib/libc/arch/vax/gen/isnan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnan.c,v 1.2 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: isnan.c,v 1.3 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) Martynas Venckus <martynas@openbsd.org>
*
@@ -15,7 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <math.h>
/* ARGSUSED */
diff --git a/lib/libc/arch/vax/gen/isnormal.c b/lib/libc/arch/vax/gen/isnormal.c
index 8818f11e4b6..1c8070ceaf9 100644
--- a/lib/libc/arch/vax/gen/isnormal.c
+++ b/lib/libc/arch/vax/gen/isnormal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnormal.c,v 1.2 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: isnormal.c,v 1.3 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -15,7 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/vaxfp.h>
#include <math.h>
diff --git a/lib/libc/arch/vax/gen/signbit.c b/lib/libc/arch/vax/gen/signbit.c
index 202e93d3bf0..29bf4c6eef9 100644
--- a/lib/libc/arch/vax/gen/signbit.c
+++ b/lib/libc/arch/vax/gen/signbit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signbit.c,v 1.2 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: signbit.c,v 1.3 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -15,7 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/vaxfp.h>
#include <math.h>
diff --git a/lib/libc/gen/fpclassify.c b/lib/libc/gen/fpclassify.c
index 60d21770bfb..6f0636044dc 100644
--- a/lib/libc/gen/fpclassify.c
+++ b/lib/libc/gen/fpclassify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpclassify.c,v 1.3 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: fpclassify.c,v 1.4 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -16,7 +16,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/frexp.c b/lib/libc/gen/frexp.c
index 230edd8e20a..e52c1b85d30 100644
--- a/lib/libc/gen/frexp.c
+++ b/lib/libc/gen/frexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frexp.c,v 1.3 2008/12/09 20:32:06 martynas Exp $ */
+/* $OpenBSD: frexp.c,v 1.4 2008/12/10 01:15:02 martynas Exp $ */
/*-
* Copyright (c) 2004 David Schultz <das@FreeBSD.ORG>
@@ -29,7 +29,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/isfinite.c b/lib/libc/gen/isfinite.c
index 537eed7716a..c7e68a1d825 100644
--- a/lib/libc/gen/isfinite.c
+++ b/lib/libc/gen/isfinite.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isfinite.c,v 1.3 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: isfinite.c,v 1.4 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -16,7 +16,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/isinf.c b/lib/libc/gen/isinf.c
index a7b991b1c7f..67287fd50b7 100644
--- a/lib/libc/gen/isinf.c
+++ b/lib/libc/gen/isinf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isinf.c,v 1.3 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: isinf.c,v 1.4 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -16,7 +16,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
diff --git a/lib/libc/gen/isnan.c b/lib/libc/gen/isnan.c
index eadb1f18a5e..6faefac3236 100644
--- a/lib/libc/gen/isnan.c
+++ b/lib/libc/gen/isnan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnan.c,v 1.3 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: isnan.c,v 1.4 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -16,7 +16,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
diff --git a/lib/libc/gen/isnormal.c b/lib/libc/gen/isnormal.c
index 40e59913a02..8ca65aa7091 100644
--- a/lib/libc/gen/isnormal.c
+++ b/lib/libc/gen/isnormal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnormal.c,v 1.3 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: isnormal.c,v 1.4 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -16,7 +16,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/signbit.c b/lib/libc/gen/signbit.c
index b4a3f3617e1..d2caa82dd19 100644
--- a/lib/libc/gen/signbit.c
+++ b/lib/libc/gen/signbit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signbit.c,v 1.2 2008/12/09 19:52:34 martynas Exp $ */
+/* $OpenBSD: signbit.c,v 1.3 2008/12/10 01:15:02 martynas Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -16,7 +16,7 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>