From: probe Date: Sun, 7 Jun 1992 04:18:47 +0000 (+0000) Subject: Synchronization speedup by optimizing out WhoIsThis* X-Git-Tag: release77~549 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/6608e5521f7762ca210a4ccffb3fc890ac336bbf Synchronization speedup by optimizing out WhoIsThis* --- diff --git a/afssync/ptprocs.c b/afssync/ptprocs.c index b7092e68..a38b6b7f 100644 --- a/afssync/ptprocs.c +++ b/afssync/ptprocs.c @@ -30,7 +30,7 @@ #include "ptserver.h" #include "pterror.h" -#ifdef CROSS_CELL +#if defined(CROSS_CELL) && !defined(WhoIsThisWithName) static long WhoIsThisWithName(); #endif @@ -62,6 +62,7 @@ static int CreateOK (ut, cid, oid, flag, admin) return 1; /* OK! */ } +#if !defined(WhoIsThis) long WhoIsThis (acall, at, aid) struct rx_call *acall; struct ubik_trans *at; @@ -135,6 +136,7 @@ long WhoIsThis (acall, at, aid) if (code && !pr_noAuth) return -1; return 0; } +#endif long PR_INewEntry(call,aname,aid,oid) struct rx_call *call; @@ -1173,7 +1175,7 @@ register char *s; } } -#ifdef CROSS_CELL +#if defined(CROSS_CELL) && !defined(WhoIsThisWithName) static long WhoIsThisWithName(acall, at, aid, aname) struct rx_call *acall; struct ubik_trans *at;