Another small tweak to whitespace tool

clang-format doesn't appear to reindent multi line #define statements
correctly - so this hopefully will clean those up.

The included whitespace corrections to the code should stay in place when
using the updated tool.

This includes cleaning up some multi-line comments that were messed up the
last time around as well as a few other minor changes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-03-05 12:19:45 -08:00
parent 13a2f14be0
commit 1b103c5c69
9 changed files with 69 additions and 54 deletions

2
dive.c
View file

@ -1084,7 +1084,7 @@ static char *merge_text(const char *a, const char *b)
#define SORT(a, b, field) \
if (a->field != b->field) \
return a->field < b->field ? -1 : 1
return a->field < b->field ? -1 : 1
static int sort_event(struct event *a, struct event *b)
{