summaryrefslogtreecommitdiff
path: root/rtl-string.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-05-28 08:23:58 +1000
committerChris Johns <chrisj@rtems.org>2012-05-28 08:23:58 +1000
commit9f020ad54f678f6f2e271b3cb9153191f407f746 (patch)
treef05ed68071f077bf45c781cef145426137ee36b4 /rtl-string.h
parentfb0c9b27451d420175a76a0eef733792317d225f (diff)
Rework the allocator.
The allocator now supports symbols, externals, objects and various memory attributes when allocating. Provide a clear on allocation, is calloc. Make the strings in the object files object allocations and not indirect pointers. This is due to symbols and symbol strings being allocated in a single blocks per object file. Only externals will be indirect allocations. Some trace output changes adding 'rtl'.
Diffstat (limited to 'rtl-string.h')
-rw-r--r--rtl-string.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/rtl-string.h b/rtl-string.h
index 5c599e9..d64d20b 100644
--- a/rtl-string.h
+++ b/rtl-string.h
@@ -30,14 +30,6 @@ extern "C" {
*/
char* rtems_rtl_strdup (const char *s1);
-/**
- * Copy a string to an indirect pointer.
- *
- * @param dst The indirect pointer handle to copy the string too.
- * @param str The string to copy.
- */
-void rtems_rtl_str_copy (rtems_rtl_ptr_t* dst, const char* str);
-
#ifdef __cplusplus
}
#endif /* __cplusplus */