From: Greg Hudson Date: Tue, 5 Oct 2010 16:39:59 +0000 (+0000) Subject: Constify the name field of a kadm5_hook vtable, since it holds a X-Git-Tag: krb5-1.9-beta1~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3dc195f236af086832383f3fa5a874f18d02b52d;p=krb5.git Constify the name field of a kadm5_hook vtable, since it holds a string literal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24426 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/kadm5_hook_plugin.h b/src/include/krb5/kadm5_hook_plugin.h index fda72464b..cca835338 100644 --- a/src/include/krb5/kadm5_hook_plugin.h +++ b/src/include/krb5/kadm5_hook_plugin.h @@ -96,7 +96,7 @@ typedef struct kadm5_hook_modinfo_st kadm5_hook_modinfo; typedef struct kadm5_hook_vtable_1_st { /** A text string identifying the plugin for logging messages. */ - char *name; + const char *name; /** Initialize a plugin module. * @param modinfo returns newly allocated module info for future