summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibC/assert.h')
-rw-r--r--Userland/Libraries/LibC/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/assert.h b/Userland/Libraries/LibC/assert.h
index c64b51ecd0..b90b115cf6 100644
--- a/Userland/Libraries/LibC/assert.h
+++ b/Userland/Libraries/LibC/assert.h
@@ -22,7 +22,7 @@
__BEGIN_DECLS
#ifndef NDEBUG
-__attribute__((noreturn)) void __assertion_failed(const char* msg);
+__attribute__((noreturn)) void __assertion_failed(char const* msg);
# define assert(expr) \
(__builtin_expect(!(expr), 0) \
? __assertion_failed(#expr "\n" __FILE__ ":" __stringify(__LINE__)) \