diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-05-28 11:53:16 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-28 17:31:20 +0200 |
commit | 0dc9af5f7e26b0dfa42cb75c900b9ef7a2192425 (patch) | |
tree | 93dbbbeb714f258bd7fb044633eb83bdcd908286 /Kernel/StdLib.h | |
parent | c11351ac507f863699d78aec46a77bd4d59e743c (diff) | |
download | serenity-0dc9af5f7e26b0dfa42cb75c900b9ef7a2192425.zip |
Add clang-format file
Also run it across the whole tree to get everything using the One True Style.
We don't yet run this in an automated fashion as it's a little slow, but
there is a snippet to do so in makeall.sh.
Diffstat (limited to 'Kernel/StdLib.h')
-rw-r--r-- | Kernel/StdLib.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/StdLib.h b/Kernel/StdLib.h index 3f32de4797..6fa43e3563 100644 --- a/Kernel/StdLib.h +++ b/Kernel/StdLib.h @@ -12,12 +12,11 @@ char* strncpy(char*, const char*, size_t); int strcmp(char const*, const char*); size_t strlen(const char*); void* memset(void*, int, size_t); -char *strdup(const char*); +char* strdup(const char*); int memcmp(const void*, const void*, size_t); char* strrchr(const char* str, int ch); void* memmove(void* dest, const void* src, size_t n); inline word ntohs(word w) { return (w & 0xff) << 8 | ((w >> 8) & 0xff); } inline word htons(word w) { return (w & 0xff) << 8 | ((w >> 8) & 0xff); } - } |