X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=lib%2Fcrtdll%2Fstring%2Fstrnlen.c;fp=lib%2Fcrtdll%2Fstring%2Fstrnlen.c;h=0000000000000000000000000000000000000000;hp=ba113d00e141f27eddea0d7f67762e84955128b5;hb=7c0cf90e3b750f1f0dc83b2eec9e5c68a512c30f;hpb=ee8b63255465d8c28be3e7bd11628015708fc1ab diff --git a/lib/crtdll/string/strnlen.c b/lib/crtdll/string/strnlen.c deleted file mode 100644 index ba113d0..0000000 --- a/lib/crtdll/string/strnlen.c +++ /dev/null @@ -1,14 +0,0 @@ -/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ -#include - -size_t -strnlen(const char *str, size_t count) -{ - const char *s; - - if (str == 0) - return 0; - for (s = str; *s && count; ++s, count--); - return s-str; -} -