Merge "Switch to upstream FreeBSD ldexp.c."

This commit is contained in:
Elliott Hughes 2014-03-10 23:25:38 +00:00 committed by Gerrit Code Review
commit ec674b4d06
2 changed files with 3 additions and 2 deletions

View File

@ -58,7 +58,6 @@ libc_common_src_files := \
bionic/ioctl.c \
bionic/isatty.c \
bionic/issetugid.c \
bionic/ldexp.c \
bionic/md5.c \
bionic/memmem.c \
bionic/pathconf.c \
@ -230,6 +229,7 @@ libc_bionic_src_files := \
bionic/wchar.cpp \
libc_upstream_freebsd_src_files := \
upstream-freebsd/lib/libc/gen/ldexp.c \
upstream-freebsd/lib/libc/gen/sleep.c \
upstream-freebsd/lib/libc/gen/usleep.c \
upstream-freebsd/lib/libc/stdio/fclose.c \

View File

@ -12,9 +12,10 @@
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <endian.h>
#include <machine/endian.h>
#include <math.h>
/* Bit fiddling routines copied from msun/src/math_private.h,v 1.15 */