X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=lib%2Fcrtdll%2Fstring%2Fstrncat.c;fp=lib%2Fcrtdll%2Fstring%2Fstrncat.c;h=0000000000000000000000000000000000000000;hp=be963b47ab52d7fa49b76fddc8429b88568e279e;hb=7c0cf90e3b750f1f0dc83b2eec9e5c68a512c30f;hpb=ee8b63255465d8c28be3e7bd11628015708fc1ab diff --git a/lib/crtdll/string/strncat.c b/lib/crtdll/string/strncat.c deleted file mode 100644 index be963b4..0000000 --- a/lib/crtdll/string/strncat.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ -#include - -char * -strncat(char *dst, const char *src, size_t n) -{ - if (n != 0) - { - char *d = dst; - const char *s = src; - - while (*d != 0) - d++; - do { - if ((*d = *s++) == 0) - break; - d++; - } while (--n != 0); - *d = 0; - } - return dst; -}