From b3bd068f614a46580ee3e5688dd9cfd40694d75b Mon Sep 17 00:00:00 2001 From: Johnny Richard Date: Mon, 14 Apr 2025 23:22:57 +0200 Subject: Define clang-format and .editorconfig settings Signed-off-by: Johnny Richard --- src/string_view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/string_view.c') diff --git a/src/string_view.c b/src/string_view.c index 275e9bb..efb1329 100644 --- a/src/string_view.c +++ b/src/string_view.c @@ -14,13 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#include #include "string_view.h" +#include string_view_t -string_view_from_cstr(char *cstr) +string_view_from_cstr(char* cstr) { - return (string_view_t) { .size = strlen(cstr), .chars = cstr }; + return (string_view_t){ .size = strlen(cstr), .chars = cstr }; } bool -- cgit v1.2.3