]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/stkstring.c
Main: Plugged memory leaks of internal structures
[libucw.git] / ucw / stkstring.c
index e501ba20fabe4d47f04e892d47a2d7b4c45e0214..32bd974336c36e4781612f776b1657eb42e9f58f 100644 (file)
 
 #include <stdio.h>
 
-#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)
 {