diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-04-17 16:58:32 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-04-17 16:58:32 -0400 |
commit | f9a774cc58d0bc802907fb4b37a3cc9d23f560c9 (patch) | |
tree | eb6a3b3fe7e27b8814d0d7ccfd8fc065cffd5fd9 /src/types.h | |
parent | b7045ce4676bc25898402606557add8c4a97c290 (diff) | |
download | seabios-f9a774cc58d0bc802907fb4b37a3cc9d23f560c9.tar.gz |
Add __attribute__((__malloc__)) declaration to internal malloc funcs.
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index e0133589..50839418 100644 --- a/src/types.h +++ b/src/types.h @@ -129,6 +129,7 @@ extern void __force_link_error__only_in_16bit(void) __noreturn; #define noinline __attribute__((noinline)) #define __always_inline inline __attribute__((always_inline)) +#define __malloc __attribute__((__malloc__)) #define __attribute_const __attribute__((__const__)) #define __stringify_1(x) #x |