libtt: Change to standard function prototypes in ttauth. Fix some compiler warnings by adding #includes
This commit is contained in:
committed by
Peter Howkins
parent
be49dc56bc
commit
2863b839e5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user