Logo
Explore Help
Sign In
linux-sunxi/u-boot-sunxi
1
0
Fork 0
You've already forked u-boot-sunxi
mirror of https://github.com/linux-sunxi/u-boot-sunxi.git synced 2024-02-12 11:16:03 +08:00
Code Issues Projects Releases Wiki Activity
Files
bcbe3d157904d3dd4d6b18a81859db45a5da2678
u-boot-sunxi/include/stdlib.h

13 lines
170 B
C
Raw Normal View History

Add some standard headers external code might need inttypes.h defines format specifiers for printf which work with data types of particular sizes. stdlib.h is currently just a passthrough to malloc.h which has declarations of the various *alloc functions. Add the required #define to common.h so that these printf format specifiers will be made available. Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-by: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Reviewed-by: Bill Richardson <wfrichar@google.com> Signed-off-by: Simon Glass <sjg@chromium.org> (Replaced with a GPL version from glibc)
2014-10-15 04:38:31 -06:00
/*
* Copyright (C) 2013 Google Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __STDLIB_H_
#define __STDLIB_H_
#include <malloc.h>
#endif /* __STDLIB_H_ */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 1097ms Template: 31ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API