Permalink
Browse files

Fixes to get appdefaults patches to compile;

minor typos.


git-svn-id: svn://anonsvn.mit.edu/krb5/branches/POST_BETA7@8989 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information...
1 parent b815235 commit 34bf0f00b90a42f0426f2df1fa7942f08bcaef75 hartmans committed Aug 26, 1996
Showing with 9 additions and 7 deletions.
  1. +1 −0 src/lib/krb5/os/Makefile.in
  2. +8 −7 src/lib/krb5/os/appdefault.c
@@ -10,6 +10,7 @@ KRB5_RUN_ENV = @KRB5_RUN_ENV@
@SHARED_RULE@
OBJS= \
+ appdefault.$(OBJEXT) \
an_to_ln.$(OBJEXT) \
def_realm.$(OBJEXT) \
DNR.$(OBJEXT) \
@@ -36,17 +36,17 @@ static int conf_boolean(s)
return 0;
}
-static errcode_t appdefault_get(context, appname, realm, option,
+static krb5_error_code appdefault_get(context, appname, realm, option,
ret_value)
krb5_context context;
const char *appname, *option;
const krb5_data *realm;
char **ret_value;
{
profile_t profile;
-Rrrconst char *names[5];
+const char *names[5];
char **nameval = NULL;
- errcode_t retval;
+ krb5_error_code retval;
const char * realmstr = realm?realm->data:NULL;
if (!context || (context->magic != KV5M_CONTEXT))
@@ -145,12 +145,12 @@ Rrrconst char *names[5];
default_value, ret_value)
krb5_context context;
const char *appname, *option;
- krb5_data *realm;
+ const krb5_data *realm;
int default_value;
int *ret_value;
{
char *string = NULL;
- errcode_t retval;
+ krb5_error_code retval;
retval = appdefault_get(context, appname, realm, option, &string);
@@ -163,11 +163,12 @@ Rrrconst char *names[5];
void krb5_appdefault_string(context, appname, realm, option, default_value,
ret_value)
- krb5_context context;
+ krb5_context context;
const char *appname, *option, *default_value;
char **ret_value;
+ const krb5_data *realm;
{
- errcode_t retval;
+ krb5_error_code retval;
char *string;
retval = appdefault_get(context, appname, realm, option, &string);

0 comments on commit 34bf0f0

Please sign in to comment.