summaryrefslogtreecommitdiffhomepage
path: root/dev/CRT
diff options
context:
space:
mode:
Diffstat (limited to 'dev/CRT')
-rw-r--r--dev/CRT/__ndk_alloca.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev/CRT/__ndk_alloca.hxx b/dev/CRT/__ndk_alloca.hxx
index db572bcd..3c796bf2 100644
--- a/dev/CRT/__ndk_alloca.hxx
+++ b/dev/CRT/__ndk_alloca.hxx
@@ -2,6 +2,9 @@
Copyright ZKA Technologies.
+ File: __ndk_alloca.hxx
+ Purpose: Stack allocation functions.
+
------------------------------------------- */
#pragma once
@@ -9,7 +12,7 @@
typedef void* ptr_type;
typedef __SIZE_TYPE__ size_type;
-inline void* __ndk_alloca(size_type sz)
+inline ptr_type __ndk_alloca(size_type sz)
{
return __builtin_alloca(sz);
}