summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-12-10 00:59:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-12-10 00:59:08 +0000
commitd7629e71bd431dd7682ce45962e3aa669ee29ff7 (patch)
treec9a07c53623d9a9cf34cffc9d345118ffce0d283 /lib/libc
parent0162528d675c787fe671e1a937f6f131dc68af90 (diff)
use sys/cdefs.h
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/hppa/gen/fabs.c4
-rw-r--r--lib/libc/arch/hppa/gen/ldexp.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/arch/hppa/gen/fabs.c b/lib/libc/arch/hppa/gen/fabs.c
index ac0479fd84b..139dc7e0125 100644
--- a/lib/libc/arch/hppa/gen/fabs.c
+++ b/lib/libc/arch/hppa/gen/fabs.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: fabs.c,v 1.4 2008/12/09 20:21:06 martynas Exp $ */
+/* $OpenBSD: fabs.c,v 1.5 2008/12/10 00:59:07 deraadt Exp $ */
/*
* Written by Miodrag Vallat. Public domain
*/
-#include <machine/cdefs.h>
+#include <sys/cdefs.h>
double
fabs(double val)
diff --git a/lib/libc/arch/hppa/gen/ldexp.c b/lib/libc/arch/hppa/gen/ldexp.c
index 4143659aa39..de38f23e1ca 100644
--- a/lib/libc/arch/hppa/gen/ldexp.c
+++ b/lib/libc/arch/hppa/gen/ldexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.c,v 1.4 2008/12/09 20:32:06 martynas Exp $ */
+/* $OpenBSD: ldexp.c,v 1.5 2008/12/10 00:59:07 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,7 +35,6 @@
*/
#include <sys/types.h>
-#include <machine/cdefs.h>
#include <machine/ieee.h>
#include <errno.h>