Sync with upstream findfp.c.
Change-Id: Ib298f46de0c4d0fd4ce0a9b456c163e8b8b06342
This commit is contained in:
@@ -52,6 +52,10 @@
|
||||
|
||||
#define explicit_bzero(p, s) memset(p, 0, s)
|
||||
|
||||
/* OpenBSD has these in <sys/param.h>, but "ALIGN" isn't something we want to reserve. */
|
||||
#define ALIGNBYTES (sizeof(uintptr_t) - 1)
|
||||
#define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES)
|
||||
|
||||
/* We have OpenBSD's getentropy_linux.c, but we don't mention getentropy in any header. */
|
||||
__LIBC_HIDDEN__ extern int getentropy(void*, size_t);
|
||||
|
||||
|
Reference in New Issue
Block a user