X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fstkstring.c;h=fee05ab2ee8f525c8ebcceed727e484435055d38;hb=dccd8baf525eff30d16bf347cdef95a148d853d7;hp=e501ba20fabe4d47f04e892d47a2d7b4c45e0214;hpb=733046c9a1a6ccc33617d73238c3c8f4865b34a4;p=libucw.git diff --git a/ucw/stkstring.c b/ucw/stkstring.c index e501ba20..fee05ab2 100644 --- a/ucw/stkstring.c +++ b/ucw/stkstring.c @@ -9,23 +9,12 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/stkstring.h" -#include "ucw/string.h" +#include +#include +#include #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) {