From: Ezra Peisach Date: Tue, 3 Oct 2000 14:56:18 +0000 (+0000) Subject: * krlogin.c (main): Declare main as int X-Git-Tag: krb5-1.3-alpha1~1873 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f8b293bdc1db396e7ac6bcecc0ea6becdcc8ea69;p=krb5.git * krlogin.c (main): Declare main as int git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12705 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index f43d9ee33..50bf2c24d 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,7 @@ +2000-10-03 Ezra Peisach + + * krlogin.c (main): Declare main as int. + 2000-09-08 Ken Raeburn * Makefile.in (DEFINES): Define HEIMDAL_FRIENDLY. diff --git a/src/appl/bsd/krlogin.c b/src/appl/bsd/krlogin.c index b05f95599..1fd439058 100644 --- a/src/appl/bsd/krlogin.c +++ b/src/appl/bsd/krlogin.c @@ -272,7 +272,7 @@ int setsignal(int sig, krb5_sigtype (*act)()); #endif /* to allow exits from signal handlers, without conflicting declarations */ -krb5_sigtype exit_handler() { +static krb5_sigtype exit_handler() { exit(1); } @@ -341,7 +341,7 @@ struct termio ixon_state; #endif - +int main(argc, argv) int argc; char **argv;