1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-25 13:29:41 +00:00

Hide posix_memalign if strict ANSI is enabled

git-svn-id: svn://svn.cc65.org/cc65/trunk@3538 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-07-24 13:01:14 +00:00
parent 7a624b8901
commit 193e7df5fe

View File

@ -62,6 +62,7 @@ void __fastcall__ free (void* block);
/* Non standard memory management functions */
#if __CC65_STD__ == __CC65_STD_CC65__
int __fastcall__ posix_memalign (void** memptr, size_t alignment, size_t size);
/* Allocate a block of memory with the given "size", which is aligned to a
* memory address that is a multiple of "alignment". "alignment" MUST NOT be
@ -71,6 +72,7 @@ int __fastcall__ posix_memalign (void** memptr, size_t alignment, size_t size);
* will return the address of the allocated memory. Use free() to release that
* allocated block.
*/
#endif
void __fastcall__ _heapadd (void* mem, size_t size);
/* Add a block to the heap */