summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/gen
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-12 19:52:42 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-12 19:52:42 +0000
commitf9e069084cb5bb4b251bc75ad91b1ff1b165d2cc (patch)
tree1428eb76a25d0973a3f463b2d51dcd9733105399 /lib/libc/i386/gen
parent3e75d8f4fd2ce44a911bb6bb23fe8df8dc610d89 (diff)
downloadFreeBSD-src-f9e069084cb5bb4b251bc75ad91b1ff1b165d2cc.zip
FreeBSD-src-f9e069084cb5bb4b251bc75ad91b1ff1b165d2cc.tar.gz
Include a couple of headers to ensure consistency between the prototype and
the function definition.
Diffstat (limited to 'lib/libc/i386/gen')
-rw-r--r--lib/libc/i386/gen/_set_tp.c2
-rw-r--r--lib/libc/i386/gen/ldexp.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/i386/gen/_set_tp.c b/lib/libc/i386/gen/_set_tp.c
index 110e7e4..8a6c929 100644
--- a/lib/libc/i386/gen/_set_tp.c
+++ b/lib/libc/i386/gen/_set_tp.c
@@ -30,6 +30,8 @@
#include <stdint.h>
#include <machine/sysarch.h>
+#include "libc_private.h"
+
void
_set_tp(void *tp)
{
diff --git a/lib/libc/i386/gen/ldexp.c b/lib/libc/i386/gen/ldexp.c
index b01b937..45802be 100644
--- a/lib/libc/i386/gen/ldexp.c
+++ b/lib/libc/i386/gen/ldexp.c
@@ -40,6 +40,8 @@ static char sccsid[] = "@(#)ldexp.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <math.h>
+
/*
* ldexp(value, exp): return value * (2 ** exp).
*
OpenPOWER on IntegriCloud