From 5dd9935685d513d9d7c61e4d80459de2bc27af67 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 13 Apr 2006 11:23:52 +0100 Subject: [PATCH] Minor whitespace tweaking. --- chkpath.c | 14 ++++---------- tmpdir.c | 14 ++++---------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/chkpath.c b/chkpath.c index 5d7e01d..79e9207 100644 --- a/chkpath.c +++ b/chkpath.c @@ -46,23 +46,17 @@ static void report(unsigned what, int verbose, const char *p, const char *msg, void *arg) -{ - moan("%s", msg); -} + { moan("%s", msg); } /* --- @usage@ --- */ static void usage(FILE *fp) -{ - fprintf(fp, "Usage: %s [-vqstp] [PATH...]\n", QUIS); -} + { fprintf(fp, "Usage: %s [-vqstp] [PATH...]\n", QUIS); } /* --- @version@ --- */ static void version(FILE *fp) -{ - fprintf(fp, "%s version %s\n", QUIS, VERSION); -} + { fprintf(fp, "%s version %s\n", QUIS, VERSION); } /* --- @help@ --- */ @@ -130,7 +124,7 @@ int main(int argc, char *argv[]) { "print", 0, 0, 'p' }, { 0, 0, 0, 0 } }; - int i = mdwopt(argc, argv, "hVu vqstp", opts, 0, 0, 0); + int i = mdwopt(argc, argv, "hVu" "vqstp", opts, 0, 0, 0); if (i < 0) break; diff --git a/tmpdir.c b/tmpdir.c index b2881c8..47914df 100644 --- a/tmpdir.c +++ b/tmpdir.c @@ -180,9 +180,7 @@ good: */ static int fullcheck(const char *p) -{ - return (checkpath(p, &cp) == 0 && ok(p, 0)); -} + { return (checkpath(p, &cp) == 0 && ok(p, 0)); } /* --- @goodtmp@ --- * * @@ -225,16 +223,12 @@ static char *goodtmp(void) /* --- @usage@ --- */ static void usage(FILE *fp) -{ - fprintf(fp, "Usage: %s [-bc] [-v PATH]\n", QUIS); -} + { fprintf(fp, "Usage: %s [-bc] [-v PATH]\n", QUIS); } /* --- @version@ --- */ static void version(FILE *fp) -{ - fprintf(fp, "%s version %s\n", QUIS, VERSION); -} + { fprintf(fp, "%s version %s\n", QUIS, VERSION); } /* --- @help@ --- */ @@ -311,7 +305,7 @@ int main(int argc, char *argv[]) { "verify", OPTF_ARGREQ, 0, 'v' }, { 0, 0, 0, 0 } }; - int i = mdwopt(argc, argv, "hVu bcv:", opts, 0, 0, 0); + int i = mdwopt(argc, argv, "hVu" "bcv:", opts, 0, 0, 0); if (i < 0) break; -- 2.11.0