Clean up <stdlib.h> slightly.

Interestingly, this mostly involves cleaning up our implementation of
various <string.h> functions.

Change-Id: Ifaef49b5cb997134f7bc0cc31bdac844bdb9e089
This commit is contained in:
Elliott Hughes
2015-01-26 13:34:58 -08:00
parent 419ed122aa
commit 76f8916b90
20 changed files with 143 additions and 111 deletions

View File

@@ -25,15 +25,16 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _STDLIB_H_
#define _STDLIB_H_
#ifndef _STDLIB_H
#define _STDLIB_H
#include <sys/cdefs.h>
#include <xlocale.h>
#include <stddef.h>
#include <alloca.h>
#include <strings.h>
#include <memory.h>
#include <malloc.h>
#include <stddef.h>
__BEGIN_DECLS
@@ -173,4 +174,4 @@ extern size_t __ctype_get_mb_cur_max(void);
__END_DECLS
#endif /* _STDLIB_H_ */
#endif /* _STDLIB_H */