From: Ken Raeburn Date: Wed, 15 Mar 2000 04:53:07 +0000 (+0000) Subject: volatile fixes X-Git-Tag: krb5-1.2-beta1~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b4c2a1b530f73ed0356b5fe5919a03db60e4cda;p=krb5.git volatile fixes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12113 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/des425/ChangeLog b/src/lib/des425/ChangeLog index dacafc3db..ed0116d50 100644 --- a/src/lib/des425/ChangeLog +++ b/src/lib/des425/ChangeLog @@ -1,3 +1,8 @@ +2000-03-14 Ken Raeburn + + * read_passwd.c (des_read_pw_string): Make ointrfunc volatile. + Fix volatile decl for readin_string. + 1999-10-26 Tom Yu * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, diff --git a/src/lib/des425/read_passwd.c b/src/lib/des425/read_passwd.c index e9e58bcc9..c69d5ffd2 100644 --- a/src/lib/des425/read_passwd.c +++ b/src/lib/des425/read_passwd.c @@ -60,10 +60,10 @@ des_read_pw_string/*_v4_compat_crock*/(return_pwd, bufsize, prompt, prompt2) char *prompt; char *prompt2; { - volatile char *readin_string = 0; + char *volatile readin_string = 0; register char *ptr; int scratchchar; - krb5_sigtype (*ointrfunc)(); + krb5_sigtype (*volatile ointrfunc)(); krb5_error_code errcode; #ifndef ECHO_PASSWORD struct termios echo_control, save_control;