From 086969277e74d8ba065bf8145d3aeb0dec0bfee5 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Fri, 1 Apr 2022 20:58:27 +0300 Subject: Everywhere: Run clang-format --- AK/kstdio.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'AK/kstdio.h') 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 # include 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 -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 -inline void dbgputstr(const char (&array)[N]) +inline void dbgputstr(char const (&array)[N]) { return ::dbgputstr(array, N); } -- cgit v1.2.3