From 0b1b02a7d06b20d78c63308b0f73241e4fa65627 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 26 Jan 2024 02:05:40 +0000 Subject: [PATCH] fixed formatting git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@71 d27a3e52-49c5-7645-884c-6793ebffc270 --- .clang-format | 2 +- Example/W3B/w3b.c | 3 +-- Library/HTTP.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index 0554a6a..53f287c 100644 --- a/.clang-format +++ b/.clang-format @@ -8,5 +8,5 @@ PointerAlignment: Left ColumnLimit: 1024 AllowShortIfStatementsOnASingleLine: Always AllowShortBlocksOnASingleLine: Never -AllowShortLoopsOnASingleLine: True +AllowShortLoopsOnASingleLine: true SpaceBeforeParens: Never diff --git a/Example/W3B/w3b.c b/Example/W3B/w3b.c index c29e2da..52319ba 100644 --- a/Example/W3B/w3b.c +++ b/Example/W3B/w3b.c @@ -4,5 +4,4 @@ * Simple browser */ -int main(){ -} +int main() {} diff --git a/Library/HTTP.c b/Library/HTTP.c index 67dccf2..f4166e5 100644 --- a/Library/HTTP.c +++ b/Library/HTTP.c @@ -10,7 +10,7 @@ #include #include -extern int strcasecmp(const char *s1, const char *s2); +extern int strcasecmp(const char* s1, const char* s2); void __W3_HTTP_Request(struct W3* w3) { __W3_Debug("LibW3-HTTP", "Sending the request"); -- 2.43.0