diff options
| author | bernard.xiong <[email protected]> | 2009-10-11 05:43:15 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2009-10-11 05:43:15 +0000 |
| commit | 6718379b81bdd8691632070f940d4643c4413e62 (patch) | |
| tree | af669e064e7975202bfb725761cc030413ada25b /include/rtthread.h | |
| parent | 2fc5c4c088b7a3694d538c76919ac772a6af0380 (diff) | |
add rt_calloc function declaration.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@87 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 97d28f5045..6c2d83d012 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -163,6 +163,7 @@ void rt_system_heap_init(void* begin_addr, void* end_addr); void* rt_malloc(rt_size_t nbytes); void rt_free (void *ptr); void* rt_realloc(void *ptr, rt_size_t nbytes); +void *rt_calloc(rt_size_t count, rt_size_t size); #ifdef RT_USING_HOOK void rt_malloc_sethook(void (*hook)(void *ptr, rt_uint32_t size)); |
