X-Git-Url: https://git.distorted.org.uk/~mdw/checkpath/blobdiff_plain/557179afe0e43fa9abbe5dbcdfa1143d238a8805..263d6e0d5b3272ea76ed646258ee945fae8a096f:/tmpdir.c diff --git a/tmpdir.c b/tmpdir.c index b2881c8..fde2e74 100644 --- a/tmpdir.c +++ b/tmpdir.c @@ -7,7 +7,7 @@ * (c) 1999 Mark Wooding */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of chkpath. * @@ -15,12 +15,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * chkpath is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with chkpath; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -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;