X-Git-Url: https://git.distorted.org.uk/~mdw/checkpath/blobdiff_plain/d7b5ee0cc2a612023bb20492a75af4a7a23e856b..7d5bdc256357b94d74eccc6f6ae6d133fb9bc45a:/chkpath.c diff --git a/chkpath.c b/chkpath.c index cf86c7f..4230637 100644 --- a/chkpath.c +++ b/chkpath.c @@ -1,7 +1,5 @@ /* -*-c-*- * - * $Id: chkpath.c,v 1.3 2003/01/25 23:58:44 mdw Exp $ - * * Check a user's file search path * * (c) 1999 Mark Wooding @@ -26,20 +24,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: chkpath.c,v $ - * Revision 1.3 2003/01/25 23:58:44 mdw - * Make guts into official library. - * - * Revision 1.2 2001/01/25 22:16:02 mdw - * Make flags be unsigned. - * - * Revision 1.1.1.1 1999/04/06 20:12:07 mdw - * Import new project. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -57,26 +41,22 @@ /*----- Main code ---------------------------------------------------------*/ +/* --- @report@ --- */ + 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@ --- */