From 6c5b4ca76cc9c8b995f7a89c9ba5efc4401dbc74 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 18 Apr 2002 09:19:44 +0000 Subject: [PATCH] constify git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10914 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/log.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/krb5/log.c b/lib/krb5/log.c index 80704cf34..8115dd271 100644 --- a/lib/krb5/log.c +++ b/lib/krb5/log.c @@ -57,7 +57,7 @@ log_realloc(krb5_log_facility *f) } struct s2i { - char *s; + const char *s; int val; }; @@ -204,8 +204,8 @@ open_syslog(krb5_context context, } struct file_data{ - char *filename; - char *mode; + const char *filename; + const char *mode; FILE *fd; int keep_open; }; @@ -236,7 +236,7 @@ close_file(void *data) static krb5_error_code open_file(krb5_context context, krb5_log_facility *fac, int min, int max, - char *filename, char *mode, FILE *f, int keep_open) + const char *filename, const char *mode, FILE *f, int keep_open) { struct file_data *fd = malloc(sizeof(*fd)); if(fd == NULL) {