libtt: Change to standard function prototypes in ttauth. Fix some compiler warnings by adding #includes

This commit is contained in:
Matthew Howkins
2014-12-30 17:27:20 +00:00
committed by Peter Howkins
parent be49dc56bc
commit 2863b839e5
2 changed files with 106 additions and 159 deletions

View File

@@ -73,7 +73,8 @@ static char *defsource = "(stdin)";
/*
* utility routines
*/
static void usage ()
static void
usage(void)
{
static char *prefixmsg[] = {
"",
@@ -111,9 +112,8 @@ NULL };
/*
* The main routine - parses command line and calls action procedures
*/
main (argc, argv)
int argc;
char *argv[];
int
main(int argc, char *argv[])
{
int i;
char *sourcename = defsource;