]> andersk Git - moira.git/commitdiff
Synchronization speedup by optimizing out WhoIsThis*
authorprobe <probe>
Sun, 7 Jun 1992 04:18:47 +0000 (04:18 +0000)
committerprobe <probe>
Sun, 7 Jun 1992 04:18:47 +0000 (04:18 +0000)
afssync/ptprocs.c

index b7092e685584aadd9af731a5c0b8b4218939a431..a38b6b7fd73d6b513b3e935475e3bc3e7f94060a 100644 (file)
@@ -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;
This page took 0.043187 seconds and 5 git commands to generate.