commit | ab61eb366ac48addf2bca6093a34455193f5c8df | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Nov 20 16:09:06 2013 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Nov 20 16:24:16 2013 -0800 |
tree | 335fe463aa773ac8484c40e955fec90f126c9e4f | |
parent | 39bc7ecd45700e9edac0b29d33cc211383ebb107 [diff] |
Switch to upstream sleep(3) and usleep(3). 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