]> diplodocus.org Git - nmh/blobdiff - sbr/trimcpy.c
Various IMAP protocol improvements
[nmh] / sbr / trimcpy.c
index 8cdb065b63496d9fbadebdd785b99aca554374af..3263231a46ff4be886613eaafbc2303750fd4d4d 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * trimcpy.c -- strip leading and trailing whitespace,
+/* trimcpy.c -- strip leading and trailing whitespace,
  *           -- replace internal whitespace with spaces,
  *           -- then return a copy.
  *
@@ -51,7 +49,8 @@ trimcpy (char *cp)
  * complete copyright information.
  */
 char *
-cpytrim (const char *sp) {
+cpytrim (const char *sp)
+{
     char *dp;
     char *cp;
 
@@ -83,7 +82,8 @@ cpytrim (const char *sp) {
  * complete copyright information.
  */
 char *
-rtrim (char *sp) {
+rtrim (char *sp)
+{
     char *cp;
 
     /* start at the end and zap trailing whitespace */