diff options
author | Love Hörnquist Åstrand <lha@kth.se> | 2008-10-26 18:25:01 +0000 |
---|---|---|
committer | Love Hörnquist Åstrand <lha@kth.se> | 2008-10-26 18:25:01 +0000 |
commit | 785ef0a557952f1e5a9017a8498a803afdff507d (patch) | |
tree | a91975fd830ba9eafb1a79f2b2dca6f00e230a60 | |
parent | 7ab42a180c7c1123054b526faf492165695fc1de (diff) |
hide find_chpw_proto under HEIMDAL_SMALLER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23980 ec53bebd-3082-4978-b11e-865c3cabbd6b
-rw-r--r-- | lib/krb5/changepw.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/krb5/changepw.c b/lib/krb5/changepw.c index 846c94a7f..91ed9c5ba 100644 --- a/lib/krb5/changepw.c +++ b/lib/krb5/changepw.c @@ -501,17 +501,6 @@ static struct kpwd_proc { { NULL } }; -static struct kpwd_proc * -find_chpw_proto(const char *name) -{ - struct kpwd_proc *p; - for (p = procs; p->name != NULL; p++) { - if (strcmp(p->name, name) == 0) - return p; - } - return NULL; -} - /* * */ @@ -671,6 +660,17 @@ change_password_loop (krb5_context context, #ifndef HEIMDAL_SMALLER +static struct kpwd_proc * +find_chpw_proto(const char *name) +{ + struct kpwd_proc *p; + for (p = procs; p->name != NULL; p++) { + if (strcmp(p->name, name) == 0) + return p; + } + return NULL; +} + /** * krb5_change_password() is deprecated, use krb5_set_password(). * |