~mdw
/
checkpath
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor whitespace tweaking.
[checkpath]
/
chkpath.c
diff --git
a/chkpath.c
b/chkpath.c
index
5d7e01d
..
79e9207
100644
(file)
--- 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)
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)
/* --- @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)
/* --- @version@ --- */
static void version(FILE *fp)
-{
- fprintf(fp, "%s version %s\n", QUIS, VERSION);
-}
+ { fprintf(fp, "%s version %s\n", QUIS, VERSION); }
/* --- @help@ --- */
/* --- @help@ --- */
@@
-130,7
+124,7
@@
int main(int argc, char *argv[])
{ "print", 0, 0, 'p' },
{ 0, 0, 0, 0 }
};
{ "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;
if (i < 0)
break;