aboutsummaryrefslogtreecommitdiff
path: root/kernel/libk/strlen.c
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-12-30 12:15:37 -0500
committerRaghuram Subramani <raghus2247@gmail.com>2024-12-30 12:15:37 -0500
commitea767decae8022d9535296061df01b908928dca8 (patch)
tree966e20a67bcc396fe654474478c5df7fe8d30f1f /kernel/libk/strlen.c
parent04f2be3720904518abbe643f70a87adbef98b6f4 (diff)
all: re-indent
Diffstat (limited to 'kernel/libk/strlen.c')
-rw-r--r--kernel/libk/strlen.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/kernel/libk/strlen.c b/kernel/libk/strlen.c
index 656b06f..c203099 100644
--- a/kernel/libk/strlen.c
+++ b/kernel/libk/strlen.c
@@ -1,20 +1,20 @@
/*
-* CMOS
-* Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com>
-*
-* This program is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * CMOS
+ * Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
#include <stddef.h>
@@ -23,9 +23,9 @@
size_t
strlen(const char *str)
{
- size_t len = 0;
- while (str[len])
- len++;
+ size_t len = 0;
+ while (str[len])
+ len++;
- return len;
+ return len;
}