summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/kadm5_hook_plugin.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-10-05 16:39:59 +0000
committerGreg Hudson <ghudson@mit.edu>2010-10-05 16:39:59 +0000
commit3dc195f236af086832383f3fa5a874f18d02b52d (patch)
tree51bf33e6edab98c87a258c8a8a699a08e0bd3238 /src/include/krb5/kadm5_hook_plugin.h
parentf807c93ad898c9b652b516ac54ee2b1112c67fbc (diff)
downloadkrb5-3dc195f236af086832383f3fa5a874f18d02b52d.tar.gz
krb5-3dc195f236af086832383f3fa5a874f18d02b52d.tar.xz
krb5-3dc195f236af086832383f3fa5a874f18d02b52d.zip
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
Diffstat (limited to 'src/include/krb5/kadm5_hook_plugin.h')
-rw-r--r--src/include/krb5/kadm5_hook_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/krb5/kadm5_hook_plugin.h b/src/include/krb5/kadm5_hook_plugin.h
index fda72464b3..cca835338f 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