git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003021201
[reactos.git]
/
lib
/
msvcrt
/
string
/
strcat.c
diff --git
a/lib/msvcrt/string/strcat.c
b/lib/msvcrt/string/strcat.c
index
fa71718
..
2b87ce9
100644
(file)
--- 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 <msvcrt/string.h>
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <msvcrt/string.h>
-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;
}
}