Newlib: implement locks
* Dynamically allocate arc4random data. Saves about 1k off the bss.
This commit is contained in:
parent
89c6c410ff
commit
e9d9201527
24 changed files with 3442 additions and 44 deletions
|
|
@ -53,11 +53,9 @@ void explicit_bzero(void *, size_t);
|
|||
#if __MISC_VISIBLE || __POSIX_VISIBLE < 200809 || __XSI_VISIBLE >= 700
|
||||
int ffs(int) __pure2;
|
||||
#endif
|
||||
#if __GNU_VISIBLE
|
||||
#if __BSD_VISIBLE
|
||||
int ffsl(long) __pure2;
|
||||
int ffsll(long long) __pure2;
|
||||
#endif
|
||||
#if __BSD_VISIBLE
|
||||
int fls(int) __pure2;
|
||||
int flsl(long) __pure2;
|
||||
int flsll(long long) __pure2;
|
||||
|
|
@ -75,4 +73,8 @@ int strncasecmp_l (const char *, const char *, size_t, locale_t);
|
|||
#endif
|
||||
__END_DECLS
|
||||
|
||||
#if __SSP_FORTIFY_LEVEL > 0
|
||||
#include <ssp/strings.h>
|
||||
#endif
|
||||
|
||||
#endif /* _STRINGS_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue