commit a0af0300351f51bfebdd24d59e5c1fd162748367
parent bc5188ce3521c48aa98b0e554d584783ffa001e3
Author: dwrz <dwrz@dwrz.net>
Date: Sun, 24 Feb 2019 12:57:27 +0000
Remove copy_phrase in c/isogram
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/c/isogram/src/isogram.c b/c/isogram/src/isogram.c
@@ -10,14 +10,6 @@ int length(const char string[])
return i+1; // Account for terminating null character.
}
-void copy_phrase(const char phrase[], char copy[]) {
- int i;
- for (i = 0; i < length(phrase); i++) {
- copy[i] = phrase[i];
- }
- copy[i+1]= '\0';
-}
-
char lowercase(char* c) {
// Lowercase only ASCII capital characters.
if (*c >= 65 && *c <= 90) {