Declare prompt and prompt2 as const char * so that callers
authorEzra Peisach <epeisach@mit.edu>
Tue, 9 May 1995 02:24:12 +0000 (02:24 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 9 May 1995 02:24:12 +0000 (02:24 +0000)
can safely use with same. (and not get a warning from gcc).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5759 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/read_pwd.c

index 9ee5d941b9df69fa44d1a94101dfd6be7e32e6ce..59538ac658739aec20e47c50019fef0efc1d1ea3 100644 (file)
@@ -1,3 +1,8 @@
+Mon May  8 22:19:23 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * read_pwd.c (krb5_read_password): Make arguments prompt and
+               prompt2 const char * for convenience to callers.
+
 Mon May  1 17:05:21 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * init_os_ctx.c (krb5_set_config_files): Added required const to
index 0944e47fe2c1a3178d76fcae1874c82e0e46c5c5..0b29e69b05e33d59cb170ac6e3377acbaa89e61e 100644 (file)
@@ -75,8 +75,8 @@ intr_routine()
 krb5_error_code
 krb5_read_password(context, prompt, prompt2, return_pwd, size_return)
     krb5_context context;
-    char *prompt;
-    char *prompt2;
+    const char *prompt;
+    const char *prompt2;
     char *return_pwd;
     int *size_return;
 {