From: Ezra Peisach Date: Wed, 21 Jan 1998 20:14:55 +0000 (+0000) Subject: main returns int, not void. ANSI X3.159-1989 X-Git-Tag: krb5-1.1-beta1~886 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ce89607a48acf06cb984120651b6b6dd2e84766;p=krb5.git main returns int, not void. ANSI X3.159-1989 2.1.2.2.1 says so, and gcc now warns about it. (eichin@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10368 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/kdestroy/ChangeLog b/src/clients/kdestroy/ChangeLog index fb877f8c7..ac8c54326 100644 --- a/src/clients/kdestroy/ChangeLog +++ b/src/clients/kdestroy/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 21 15:12:30 1998 Ezra Peisach + + * kdestroy.c (main): returns int, not void. ANSI X3.159-1989 + 2.1.2.2.1 says so, and gcc now warns about it. + Sat Feb 15 12:25:00 1997 Richard Basch * Makefile.in: Link in ComErr library $(CLIB) diff --git a/src/clients/kdestroy/kdestroy.c b/src/clients/kdestroy/kdestroy.c index 088e998a8..97869a316 100644 --- a/src/clients/kdestroy/kdestroy.c +++ b/src/clients/kdestroy/kdestroy.c @@ -32,7 +32,7 @@ extern int optind; extern char *optarg; -void +int main(argc, argv) int argc; char **argv; diff --git a/src/clients/kinit/ChangeLog b/src/clients/kinit/ChangeLog index 500bbc7a8..0f6719a7b 100644 --- a/src/clients/kinit/ChangeLog +++ b/src/clients/kinit/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 21 15:10:37 1998 Ezra Peisach + + * kinit.c (main): returns int, not void. ANSI X3.159-1989 + 2.1.2.2.1 says so, and gcc now warns about it. (eichin@cygnus.com) + Thu May 29 19:39:08 1997 Theodore Y. Ts'o * kinit.c (main): Fix bug where kinit would core dump if given a diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index bc0a1eafe..6c3f037e6 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -62,7 +62,7 @@ static krb5_error_code krb5_tgt_gen krb5_preauthtype * preauth = NULL; krb5_preauthtype preauth_list[2] = { 0, -1 }; -void +int main(argc, argv) int argc; char **argv; diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index 9e518efc2..3571b121b 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 21 15:11:22 1998 Ezra Peisach + + * klist.c (main): returns int, not void. ANSI X3.159-1989 + 2.1.2.2.1 says so, and gcc now warns about it. + Sat Feb 15 12:25:14 1997 Richard Basch * Makefile.in: Link in ComErr library $(CLIB) diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index 4f7b0a6d3..c3996fb97 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -73,7 +73,7 @@ void usage() } -void +int main(argc, argv) int argc; char **argv;