X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fstkstring.c;h=32bd974336c36e4781612f776b1657eb42e9f58f;hb=01952d21dc7195336fe03d6b12a73d563924cfe9;hp=e501ba20fabe4d47f04e892d47a2d7b4c45e0214;hpb=733046c9a1a6ccc33617d73238c3c8f4865b34a4;p=libucw.git diff --git a/ucw/stkstring.c b/ucw/stkstring.c index e501ba20..32bd9743 100644 --- a/ucw/stkstring.c +++ b/ucw/stkstring.c @@ -15,17 +15,6 @@ #include -#ifdef CONFIG_DARWIN -uns -strnlen(const char *str, uns n) -{ - const char *end = str + n; - const char *c; - for (c = str; *c && c < end; c++); - return c - str; -} -#endif - uns stk_array_len(char **s, uns cnt) {