summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/stdlib.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
index 35e8b3229a..13f48e24e7 100644
--- a/src/include/stdlib.h
+++ b/src/include/stdlib.h
@@ -20,12 +20,10 @@
#define min(a,b) MIN((a),(b))
#define max(a,b) MAX((a),(b))
-#if !defined(__PRE_RAM__)
void *memalign(size_t boundary, size_t size);
void *malloc(size_t size);
/* We never free memory */
static inline void free(void *ptr) {}
-#endif
#ifndef __ROMCC__
static inline unsigned long div_round_up(unsigned int n, unsigned int d)