1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dttypes: Change to ANSI function definitions

This commit is contained in:
Peter Howkins 2018-06-28 04:24:58 +01:00
parent 8039ffe36f
commit 9f91dca0c5

View file

@ -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;