summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-program.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-program.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-program.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-program.h b/rtemsbsd/include/machine/rtems-bsd-program.h
index a6f8dc6c..e31c1a6a 100644
--- a/rtemsbsd/include/machine/rtems-bsd-program.h
+++ b/rtemsbsd/include/machine/rtems-bsd-program.h
@@ -102,6 +102,9 @@ rtems_bsd_program_calloc(size_t nelem, size_t elsize);
void *
rtems_bsd_program_realloc(void *ptr, size_t size);
+void *
+rtems_bsd_program_reallocf(void *ptr, size_t size);
+
char *
rtems_bsd_program_strdup(const char *s1);
@@ -164,6 +167,10 @@ rtems_bsd_program_free(void *ptr);
#define realloc(ptr, size) rtems_bsd_program_realloc(ptr, size)
#endif
+#ifndef RTEMS_BSD_PROGRAM_NO_REALLOC_WRAP
+ #define reallocf(ptr, size) rtems_bsd_program_reallocf(ptr, size)
+#endif
+
#ifndef RTEMS_BSD_PROGRAM_NO_STRDUP_WRAP
#define strdup(s1) rtems_bsd_program_strdup(s1)
#endif