summaryrefslogtreecommitdiffstats
path: root/libm/freebsd-compat.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove more BSD cruft from the public headers.Elliott Hughes2014-12-191-0/+2
| | | | Change-Id: I1e3097f745b526db448bf72fbc05fb2ba23929a0
* Clean-up _fpmath and fake_long_doublesCalin Juravle2014-04-231-2/+5
| | | | | | | | | | | | | | - promoted IEEEld2bits to fpmath since most of the where the same for diffrent archs - removed _fpmath - reinstated weak_references - moved isfinite and isnormal to libc - clean up fake_long_doubles - clean up some useless ifdefs - added missing nexttoward* tests Bug: 14134235 Change-Id: I95639c4885653fe47fd7dc0570ee5bb3389bbc6b
* Clean up various warnings in bionic.Elliott Hughes2014-02-181-0/+3
| | | | Change-Id: Ic57541d0a567fd4ae79f0ad59b2ffde1130eb7d2
* Don't use weak aliases in libm.Elliott Hughes2013-12-181-2/+1
| | | | | | | The aarch64 toolchain doesn't support them, and we were already implementing most of the fake long-double functions differently anyway. Change-Id: I4a2f2df81972ee9c34ddfe96cec81b126506d881
* Switch to upstream sleep(3) and usleep(3).Elliott Hughes2013-11-201-0/+27
Also fix the signature of usleep, and the definition of useconds_t which should be unsigned, as the 'u' in its name implies. This patch also cleans up the existing FreeBSD hacks by moving the libm stuff from <sys/cdefs.h> to a libm-private header, and adding comments about the hacks we use to build FreeBSD source. Change-Id: Ibe5067a380502df94a0a3a7901969b35411085b6