~mdw
/
checkpath
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve formatting before we get too stuck in.
[checkpath]
/
chkpath.c
diff --git
a/chkpath.c
b/chkpath.c
index
5d7e01d
..
4230637
100644
(file)
--- a/
chkpath.c
+++ b/
chkpath.c
@@
-1,7
+1,5
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: chkpath.c,v 1.4 2004/04/08 01:36:22 mdw Exp $
- *
* Check a user's file search path
*
* (c) 1999 Mark Wooding
* Check a user's file search path
*
* (c) 1999 Mark Wooding
@@
-43,26
+41,22
@@
/*----- Main code ---------------------------------------------------------*/
/*----- Main code ---------------------------------------------------------*/
+/* --- @report@ --- */
+
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@ --- */