]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-ubik-calliter-update-20041210
authorJeffrey Altman <jaltman@mit.edu>
Mon, 13 Dec 2004 19:39:18 +0000 (19:39 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 13 Dec 2004 19:39:18 +0000 (19:39 +0000)
if we're going to prototype it we need to match this

(cherry picked from commit 80016e804616f7d233831716b1127e3a48c51038)

src/libadmin/kas/afs_kasAdmin.c

index 903d10ec4ffc7db3daee4d6f7fae54a6476d0e88..fcd3472761e1fa793564380ea3d0346f6d7e7df7 100644 (file)
@@ -36,7 +36,6 @@ RCSID
 #undef ENCRYPT
 
 extern int ubik_Call();
-extern int ubik_CallIter();
 
 typedef struct {
     int begin_magic;
@@ -718,7 +717,7 @@ GetPrincipalLockStatus(const kas_server_p kaserver, const kas_identity_p who,
        tst =
            ubik_CallIter(KAM_LockStatus, kaserver->servers, UPUBIKONLY,
                          &count, who->principal, who->instance, &locked, 0,
-                         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+                         0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
        if (tst == 0) {
            if (locked) {
                if ((locked < *lockedUntil) || !once) {
@@ -1274,7 +1273,8 @@ kas_PrincipalUnlock(const void *cellHandle, const void *serverHandle,
     do {
        tst =
            ubik_CallIter(KAM_Unlock, kaserver.servers, 0, &count,
-                         who->principal, who->instance, 0, 0, 0, 0);
+                         who->principal, who->instance, 0, 0, 0, 0, 0, 0,
+                         0, 0, 0, 0, 0, 0, 0, 0);
        if (tst && (tst != UNOSERVERS)) {
            if (save_tst == 0) {
                save_tst = tst; /* save the first failure */