From 7952147abfff756a6998d4a698888e7b330bdaa7 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 9 May 1995 02:24:12 +0000 Subject: [PATCH] Declare prompt and prompt2 as const char * so that callers 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 | 5 +++++ src/lib/krb5/os/read_pwd.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 9ee5d941b..59538ac65 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Mon May 8 22:19:23 1995 Ezra Peisach + + * 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 * init_os_ctx.c (krb5_set_config_files): Added required const to diff --git a/src/lib/krb5/os/read_pwd.c b/src/lib/krb5/os/read_pwd.c index 0944e47fe..0b29e69b0 100644 --- a/src/lib/krb5/os/read_pwd.c +++ b/src/lib/krb5/os/read_pwd.c @@ -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; { -- 2.26.2