summaryrefslogtreecommitdiffhomepage
path: root/dev/crt
diff options
context:
space:
mode:
Diffstat (limited to 'dev/crt')
-rw-r--r--dev/crt/defines.hxx6
-rw-r--r--dev/crt/src/hal/x86/base_alloc.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/dev/crt/defines.hxx b/dev/crt/defines.hxx
index 8bcceaae..f23bdaa3 100644
--- a/dev/crt/defines.hxx
+++ b/dev/crt/defines.hxx
@@ -15,9 +15,9 @@
typedef void* ptr_type;
typedef __SIZE_TYPE__ size_type;
-typedef void* voidptr_t;
-typedef void* any_t;
-typedef char* caddr_t;
+typedef void* voidptr_t;
+typedef void* any_t;
+typedef char* caddr_t;
#ifndef NULL
#define NULL ((voidptr_t)0)
diff --git a/dev/crt/src/hal/x86/base_alloc.cxx b/dev/crt/src/hal/x86/base_alloc.cxx
index c9634dbd..55a53c9d 100644
--- a/dev/crt/src/hal/x86/base_alloc.cxx
+++ b/dev/crt/src/hal/x86/base_alloc.cxx
@@ -20,7 +20,7 @@ void* operator new(size_t length)
: "=r"(ptr));
if (!ptr)
- std::__throw_bad_alloc();
+ std::__throw_bad_alloc();
return ptr;
}
@@ -35,7 +35,7 @@ void* operator new[](size_t length)
: "=r"(ptr));
if (!ptr)
- std::__throw_bad_alloc();
+ std::__throw_bad_alloc();
return ptr;
}