summaryrefslogtreecommitdiff
path: root/AK/kstdio.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /AK/kstdio.h
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'AK/kstdio.h')
-rw-r--r--AK/kstdio.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/AK/kstdio.h b/AK/kstdio.h
index 79b81aef21..2ef6b341aa 100644
--- a/AK/kstdio.h
+++ b/AK/kstdio.h
@@ -13,20 +13,20 @@
# include <AK/Types.h>
# include <stdarg.h>
extern "C" {
-void dbgputstr(const char*, size_t);
-int sprintf(char* buf, const char* fmt, ...) __attribute__((format(printf, 2, 3)));
-int snprintf(char* buffer, size_t, const char* fmt, ...) __attribute__((format(printf, 3, 4)));
+void dbgputstr(char const*, size_t);
+int sprintf(char* buf, char const* fmt, ...) __attribute__((format(printf, 2, 3)));
+int snprintf(char* buffer, size_t, char const* fmt, ...) __attribute__((format(printf, 3, 4)));
}
# endif
#else
# include <stdio.h>
-inline void dbgputstr(const char* characters, size_t length)
+inline void dbgputstr(char const* characters, size_t length)
{
fwrite(characters, 1, length, stderr);
}
#endif
template<size_t N>
-inline void dbgputstr(const char (&array)[N])
+inline void dbgputstr(char const (&array)[N])
{
return ::dbgputstr(array, N);
}