X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=lib%2Fmsvcrt%2Fstring%2Fstrcat.c;h=2b87ce9463a835ec0385e6985a33f0398505c6a3;hb=e3ed2d773259cc445c7ff8181ebd934931365328;hp=fa717189adb9d8e0df0c48d659863b75f4eaefc6;hpb=d378c68f5a9bb25c9e671dacd482d2e25d211df3;p=reactos.git diff --git a/lib/msvcrt/string/strcat.c b/lib/msvcrt/string/strcat.c index fa71718..2b87ce9 100644 --- a/lib/msvcrt/string/strcat.c +++ b/lib/msvcrt/string/strcat.c @@ -1,12 +1,13 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ #include -char * -strcat(char *s, const char *append) +#pragma function(strcat) + +char* strcat(char* s, const char* append) { - char *save = s; + char* save = s; - for (; *s; ++s); - while ((*s++ = *append++)); - return save; + for (; *s; ++s); + while ((*s++ = *append++)); + return save; }