diff --git a/template/_.h b/template/_.h index a2aa7e8..3f93823 100644 --- a/template/_.h +++ b/template/_.h @@ -23,5 +23,3 @@ int number_of_element(char *str, char c); long gmc(long a, long b); long lmc(long a, long b); long lmcs(int array[], int n); - -int strslen(char **strs); diff --git a/template/mylib.c b/template/mylib.c index d90d2d0..a8a4205 100644 --- a/template/mylib.c +++ b/template/mylib.c @@ -82,12 +82,3 @@ long lmcs(int array[], int n) { result = lmc(result, array[i]); return result; } - -int strslen(char **strs) { - int len = 0; - for (int i = 0; strs[i] != NULL; i++) - len++; - - return len; -} -