projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8039ffe
)
dttypes: Change to ANSI function definitions
author
Peter Howkins
<flibble@users.sf.net>
Thu, 28 Jun 2018 03:24:58 +0000
(
04:24
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Thu, 28 Jun 2018 03:24:58 +0000
(
04:24
+0100)
cde/programs/util/dttypes/dttypes.c
patch
|
blob
|
history
diff --git
a/cde/programs/util/dttypes/dttypes.c
b/cde/programs/util/dttypes/dttypes.c
index 2340cf1f1defbd904c22d37b59d9a17a7ce2374d..7d09582c7fa36b94db6db73dce4507ea46c483f6 100644
(file)
--- 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;