From 63cc42ab6afd20dc04288effb009eaae4a809242 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 28 Jun 1995 21:16:39 +0000 Subject: [PATCH] * read_passwd.c, configure.in: use HAS_ANSI_VOLATILE instead git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6191 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/des425/ChangeLog | 4 ++++ src/lib/des425/configure.in | 1 + src/lib/des425/read_passwd.c | 5 ----- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/des425/ChangeLog b/src/lib/des425/ChangeLog index 615a309a5..246d91963 100644 --- a/src/lib/des425/ChangeLog +++ b/src/lib/des425/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 28 17:09:34 1995 Mark Eichin + + * read_passwd.c, configure.in: use HAS_ANSI_VOLATILE instead. + Tue Jun 27 23:17:11 1995 Mark Eichin * read_passwd.c: only use volatile if __STDC__ is 1. diff --git a/src/lib/des425/configure.in b/src/lib/des425/configure.in index 08d24159b..5da78804f 100644 --- a/src/lib/des425/configure.in +++ b/src/lib/des425/configure.in @@ -5,6 +5,7 @@ AC_PROG_ARCHIVE_ADD AC_PROG_RANLIB AC_PROG_INSTALL dnl +HAS_ANSI_VOLATILE AC_MSG_CHECKING([if pragma weak supported]) AC_CACHE_VAL(krb5_cv_pragma_weak, [AC_TRY_LINK( diff --git a/src/lib/des425/read_passwd.c b/src/lib/des425/read_passwd.c index 819981aee..d9f29d72e 100644 --- a/src/lib/des425/read_passwd.c +++ b/src/lib/des425/read_passwd.c @@ -47,11 +47,6 @@ intr_routine(signo) } -/* native sunos cc lacks volatile */ -#if !defined(__STDC__) || __STDC__ != 1 -#define volatile -#endif - /*** Routines ****************************************************** */ krb5_error_code des_read_pw_string/*_v4_compat_crock*/(return_pwd, bufsize, prompt, prompt2) -- 2.26.2