diff options
Diffstat (limited to 'main/glib/strcat.c')
-rw-r--r-- | main/glib/strcat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/glib/strcat.c b/main/glib/strcat.c index 07a3c08..9305372 100644 --- a/main/glib/strcat.c +++ b/main/glib/strcat.c @@ -1,6 +1,6 @@ /* * Copyright (c) 1988, 1993 - * The Regents of the University of California. All rights reserved. + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -36,11 +36,11 @@ __FBSDID("$FreeBSD$"); #include <string.h> char * -strcat(char * __restrict s, const char * __restrict append) +strcat(char *__restrict s, const char *__restrict append) { - char *save = s; + char *save = s; - for (; *s; ++s); - while ((*s++ = *append++)); - return(save); + for(; *s; ++s); + while((*s++ = *append++)); + return(save); } |