summaryrefslogtreecommitdiffstats
path: root/main/glib/strcat.c
diff options
context:
space:
mode:
authorEd Sutter <edsutterjr@gmail.com>2015-08-03 21:35:50 -0400
committerEd Sutter <edsutterjr@gmail.com>2015-08-03 21:35:50 -0400
commita7b6f00b72c1147f29214f27285832a9b6214cd6 (patch)
tree7d4e14e9b271497a22d169013c28178d28f90257 /main/glib/strcat.c
parentfix incorred verbose help text (diff)
downloadumon-a7b6f00b72c1147f29214f27285832a9b6214cd6.tar.bz2
tree cleanup using 'astyle --unpad-paren --align-pointer=name --lineend=linux --add-brackets --convert-tabs --style=knf -A4 FILENAME'
Diffstat (limited to 'main/glib/strcat.c')
-rw-r--r--main/glib/strcat.c12
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);
}