Merge branch 'fix-malloc-conflict' into 'master'
Fix malloc conflict See merge request redox-os/relibc!1175
This commit is contained in:
@@ -1,12 +1,25 @@
|
||||
sys_includes = ["features.h", "stddef.h"]
|
||||
include_guard = "_RELIBC_MALLOC_H"
|
||||
trailer = """
|
||||
#ifndef _RELIBC_MALLOC_EXTRA_H
|
||||
#define _RELIBC_MALLOC_EXTRA_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void *calloc(size_t nelem, size_t elsize);
|
||||
void free(void *ptr);
|
||||
void *malloc(size_t size);
|
||||
void *memalign(size_t alignment, size_t size);
|
||||
void *realloc(void *ptr, size_t size);
|
||||
void *valloc(size_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
"""
|
||||
language = "C"
|
||||
style = "Type"
|
||||
|
||||
Reference in New Issue
Block a user