diff options
Diffstat (limited to 'rushs/tinyprintf/my_strlowcase')
| -rw-r--r-- | rushs/tinyprintf/my_strlowcase/my_strlowcase.c | 13 | ||||
| -rw-r--r-- | rushs/tinyprintf/my_strlowcase/my_strlowcase.h | 8 |
2 files changed, 0 insertions, 21 deletions
diff --git a/rushs/tinyprintf/my_strlowcase/my_strlowcase.c b/rushs/tinyprintf/my_strlowcase/my_strlowcase.c deleted file mode 100644 index e52ea32..0000000 --- a/rushs/tinyprintf/my_strlowcase/my_strlowcase.c +++ /dev/null @@ -1,13 +0,0 @@ -#include "my_strlowcase.h" - -void my_strlowcase(char *s) -{ - size_t i; - for (i = 0; s[i]; i++) - { - if (s[i] >= 'A' && s[i] <= 'Z') - { - s[i] += ('a' - 'A'); - } - } -} diff --git a/rushs/tinyprintf/my_strlowcase/my_strlowcase.h b/rushs/tinyprintf/my_strlowcase/my_strlowcase.h deleted file mode 100644 index d4996b8..0000000 --- a/rushs/tinyprintf/my_strlowcase/my_strlowcase.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef MY_STRLOWCASE_H -#define MY_STRLOWCASE_H - -#include <stddef.h> - -void my_strlowcase(char *str); - -#endif /* ! MY_STRLOWCASE_H */ |
