From f8b293bdc1db396e7ac6bcecc0ea6becdcc8ea69 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 3 Oct 2000 14:56:18 +0000 Subject: [PATCH] * krlogin.c (main): Declare main as int git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12705 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 4 ++++ src/appl/bsd/krlogin.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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; -- 2.26.2