From: Nathan Neulinger Date: Fri, 19 Jan 2001 10:09:38 +0000 (+0000) Subject: STABLE10-warning-fixes-20001219 X-Git-Tag: openafs-stable-1_0_2~6 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=28f0cb8b29c9822a7266cd26a4b1b81d1e52eeac;p=packages%2Fo%2Fopenafs.git STABLE10-warning-fixes-20001219 Warning fixes missed on 12/13 (cherry picked from commit 0de9b367b9dbb5dcb357f6af6cf3bf1086a67466) --- diff --git a/src/ptserver/ptprocs.c b/src/ptserver/ptprocs.c index 33654ccb7..4e06c6601 100644 --- a/src/ptserver/ptprocs.c +++ b/src/ptserver/ptprocs.c @@ -45,7 +45,7 @@ afs_int32 listEntries(), changeEntry(), setFieldsEntry(), put_prentries(); afs_int32 listElements(), listOwned(), isAMemberOf(), idToName(); static stolower(); -extern afs_int32 IDCmp(); +extern int IDCmp(); /* When abort, reset initd so that the header is read in on next call. * Abort the transarction and return the code. diff --git a/src/ptserver/ptutils.c b/src/ptserver/ptutils.c index 5c8badb98..bcaef4bb9 100644 --- a/src/ptserver/ptutils.c +++ b/src/ptserver/ptutils.c @@ -32,7 +32,7 @@ extern struct ubik_dbase *dbase; extern struct afsconf_dir *prdir; extern int pr_noAuth; -extern afs_int32 IDCmp(); +extern int IDCmp(); extern afs_int32 AddToEntry(); static char *whoami = "ptserver"; diff --git a/src/ptserver/utils.c b/src/ptserver/utils.c index 42c1e4ade..368614947 100644 --- a/src/ptserver/utils.c +++ b/src/ptserver/utils.c @@ -410,7 +410,7 @@ afs_int32 *aid; return PRSUCCESS; } -afs_int32 IDCmp(a,b) +int IDCmp(a,b) afs_int32 *a; afs_int32 *b; {