summaryrefslogtreecommitdiff
path: root/firmware/libc/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/libc/include/stdlib.h')
-rw-r--r--firmware/libc/include/stdlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/libc/include/stdlib.h b/firmware/libc/include/stdlib.h
index 57553367c4..e24d6a579f 100644
--- a/firmware/libc/include/stdlib.h
+++ b/firmware/libc/include/stdlib.h
@@ -31,6 +31,11 @@ void free(void *);
31void *realloc(void *, size_t); 31void *realloc(void *, size_t);
32int atexit(void (*)(void)); 32int atexit(void (*)(void));
33 33
34#ifdef __GNUC__
35# undef alloca
36# define alloca(size) __builtin_alloca (size)
37#endif /* GCC. */
38
34#define RAND_MAX INT_MAX 39#define RAND_MAX INT_MAX
35 40
36void srand(unsigned int seed); 41void srand(unsigned int seed);