* read_passwd.c: only use volatile if __STDC__ is 1
authorMark Eichin <eichin@mit.edu>
Wed, 28 Jun 1995 00:34:38 +0000 (00:34 +0000)
committerMark Eichin <eichin@mit.edu>
Wed, 28 Jun 1995 00:34:38 +0000 (00:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6173 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/des425/ChangeLog
src/lib/des425/read_passwd.c

index 95d2c7acd6c3f8f2cd0512baa698ba104b6f5b42..615a309a5c789d600de71cd026875ac66d10db79 100644 (file)
@@ -1,3 +1,6 @@
+Tue Jun 27 23:17:11 1995  Mark Eichin  <eichin@cygnus.com>
+
+       * read_passwd.c: only use volatile if __STDC__ is 1.
 
 Tue Jun 27 15:51:10 EDT 1995   Paul Park       (pjpark@mit.edu)
        * util.c - Make #endif ansi-compliant.
index d9f29d72eacc15702e195f61f6a9293577ad2aa6..819981aee2aac00a63a69de67ca77d32e5ac9205 100644 (file)
@@ -47,6 +47,11 @@ 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)