]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/stkstring.c
Packages: Fixed installation of obsolete ucw-daemon-helper.
[libucw.git] / ucw / stkstring.c
index e501ba20fabe4d47f04e892d47a2d7b4c45e0214..fee05ab2ee8f525c8ebcceed727e484435055d38 100644 (file)
@@ -9,23 +9,12 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
-#include "ucw/stkstring.h"
-#include "ucw/string.h"
+#include <ucw/lib.h>
+#include <ucw/stkstring.h>
+#include <ucw/string.h>
 
 #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)
 {