chiark / gitweb /
str: Various whitespace cleanups.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 13 Apr 2006 20:43:29 +0000 (21:43 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 13 Apr 2006 20:43:29 +0000 (21:43 +0100)
str.c

diff --git a/str.c b/str.c
index 6423a4f..36dea7a 100644 (file)
--- a/str.c
+++ b/str.c
@@ -165,10 +165,7 @@ size_t str_qsplit(char *p, char *v[], size_t c, char **rest, unsigned f)
  *             compatibility veneer over @str_qword@.
  */
 
-char *str_getword(char **pp)
-{
-  return (str_qword(pp, 0));
-}
+char *str_getword(char **pp) { return (str_qword(pp, 0)); }
 
 /* --- @str_split@ --- *
  *
@@ -184,9 +181,7 @@ char *str_getword(char **pp)
  */
 
 size_t str_split(char *p, char *v[], size_t c, char **rest)
-{
-  return (str_qsplit(p, v, c, rest, 0));
-}
+  { return (str_qsplit(p, v, c, rest, 0)); }
 
 /* --- @str_match@ --- *
  *