diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2009-12-10 13:09:02 +0100 |
---|---|---|
committer | Juergen Beisert <jbe@pengutronix.de> | 2009-12-10 13:09:02 +0100 |
commit | 86e3217dde511a5f0567698c8a38fed6a167fb75 (patch) | |
tree | 5ff5d16eb83404e67c394879141c4455e8968beb /include/malloc.h | |
parent | 7fd641558b18aec7cc2fa44f12ccbb54e01fb504 (diff) | |
download | barebox-86e3217dde511a5f0567698c8a38fed6a167fb75.tar.gz barebox-86e3217dde511a5f0567698c8a38fed6a167fb75.tar.xz |
Use nowadays function prototypes
Use a function prototype style as used in all other u-boot-v2 sources, too.
Also remove C++ support. We do not use C++ in this project.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Diffstat (limited to 'include/malloc.h')
-rw-r--r-- | include/malloc.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/malloc.h b/include/malloc.h index cd680b6561..4b0567ed1d 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -3,10 +3,6 @@ #include <types.h> -#ifdef __cplusplus -extern "C" { -#endif - /* Public routines */ void* malloc(size_t); @@ -23,10 +19,5 @@ void malloc_stats(void); int mallopt(int, int); struct mallinfo mallinfo(void); - -#ifdef __cplusplus -}; /* end of extern "C" */ -#endif - #endif |