diff options
Diffstat (limited to 'kernel/libk/strlen.c')
-rw-r--r-- | kernel/libk/strlen.c | 40 |
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; } |