From: Peter Howkins Date: Thu, 28 Jun 2018 03:24:58 +0000 (+0100) Subject: dttypes: Change to ANSI function definitions X-Git-Tag: 2.3.0a~341 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9f91dca0c5a44cffbf7a996d37eaa67c0e48ae2c;p=oweals%2Fcde.git dttypes: Change to ANSI function definitions --- diff --git a/cde/programs/util/dttypes/dttypes.c b/cde/programs/util/dttypes/dttypes.c index 2340cf1f..7d09582c 100644 --- a/cde/programs/util/dttypes/dttypes.c +++ b/cde/programs/util/dttypes/dttypes.c @@ -586,12 +586,13 @@ parse_args(List *l, int argc, char **argv) return(1); } -usage() +int usage(void) { fprintf(stderr, "%s", catgets(dtcatd, 1, 25, "usage: dttypes [-help]\n\tdttypes [-type filename]\n\tdttypes [-db database] [-w [rec_name regexp] [fld_name regexp]\n\t\t\t[fld_value regexp]]\n\t\t[-l [rec_name] [rec_info] [fld_name regexp] [fld_value]]\n")); exit(1); } +int main(int argc, char **argv) { List l;