diff options
| author | [email protected] <[email protected]> | 2012-08-27 01:21:57 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-08-27 01:21:57 +0000 |
| commit | a73abdccf5caa42224d83d646ae09a39813e8179 (patch) | |
| tree | bd2e7b504008211b8ca403d700319cd1f6f12e3f /src/memheap.c | |
| parent | 907e1703e655d93bfa6617e3066932ab3440a8dc (diff) | |
split export symbols from rtm.c to each file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/memheap.c')
| -rw-r--r-- | src/memheap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/memheap.c b/src/memheap.c index 196028c651..3992ae440b 100644 --- a/src/memheap.c +++ b/src/memheap.c @@ -101,6 +101,7 @@ rt_err_t rt_memheap_init(struct rt_memheap *memheap, const char *name, return RT_EOK; } +RTM_EXPORT(rt_memheap_init); rt_err_t rt_memheap_detach(struct rt_memheap *heap) { @@ -109,6 +110,7 @@ rt_err_t rt_memheap_detach(struct rt_memheap *heap) /* Return a successful completion. */ return RT_EOK; } +RTM_EXPORT(rt_memheap_detach); void *rt_memheap_alloc(struct rt_memheap *pool_ptr, rt_uint32_t size) { @@ -219,6 +221,7 @@ void *rt_memheap_alloc(struct rt_memheap *pool_ptr, rt_uint32_t size) /* Return the completion status. */ return RT_NULL; } +RTM_EXPORT(rt_memheap_alloc); void rt_memheap_free(void *ptr) { @@ -297,5 +300,6 @@ void rt_memheap_free(void *ptr) header_ptr->next_free, header_ptr->prev_free)); } } +RTM_EXPORT(rt_memheap_free); #endif |
