krb5_error_code -> int

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3614 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-10-14 23:00:39 +00:00
parent 73bc1937d6
commit bfc1cc40bc
2 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ get_cred(kafs_data *data, const char *name, const char *inst,
return ret; return ret;
} }
static krb5_error_code static int
afslog_uid_int(kafs_data *data, const char *cell, uid_t uid) afslog_uid_int(kafs_data *data, const char *cell, uid_t uid)
{ {
int ret; int ret;

View File

@@ -225,13 +225,13 @@ _kafs_afslog_all_local_cells(kafs_data *data, uid_t uid)
the cell it is serving is living in another realm. the cell it is serving is living in another realm.
*/ */
static krb5_error_code static int
realm_of_cell(kafs_data *data, const char *cell, char **realm) realm_of_cell(kafs_data *data, const char *cell, char **realm)
{ {
FILE *F; FILE *F;
char buf[1024]; char buf[1024];
char *p; char *p;
krb5_error_code ret = -1; int ret = -1;
if((F = fopen(_PATH_CELLSERVDB, "r"))){ if((F = fopen(_PATH_CELLSERVDB, "r"))){
while(fgets(buf, sizeof(buf), F)){ while(fgets(buf, sizeof(buf), F)){