diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
commit | 76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch) | |
tree | 8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /strtod.c | |
parent | 006265d7a088cff4fea665159dbb454956c2cd76 (diff) | |
download | subsurface-76e6420f6b3503b76bd3eec00ab0e53d6ea17a20.tar.gz |
Massive automated whitespace cleanup
I know everyone will hate it.
Go ahead. Complain. Call me names.
At least now things are consistent and reproducible.
If you want changes, have your complaint come with a patch to
scripts/whitespace.pl so that we can automate it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'strtod.c')
-rw-r--r-- | strtod.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -47,14 +47,14 @@ double strtod_flags(const char *str, const char **ptr, unsigned int flags) switch (c) { case '-': sign = 1; - /* fallthrough */ + /* fallthrough */ case '+': c = *p++; } } /* Mantissa */ - for (;;c = *p++) { + for (;; c = *p++) { if ((c == '.' && !(flags & STRTOD_NO_DOT)) || (c == ',' && !(flags & STRTOD_NO_COMMA))) { if (dot) @@ -85,7 +85,7 @@ double strtod_flags(const char *str, const char **ptr, unsigned int flags) switch (c) { case '-': esign = 1; - /* fallthrough */ + /* fallthrough */ case '+': c = *ep++; } @@ -118,7 +118,7 @@ done: if (!numbers) goto no_conversion; if (ptr) - *ptr = p-1; + *ptr = p - 1; return (sign ? -val : val) / decimal; no_conversion: |