Remove warning from all calls to afsconf_GetExtendedCellInfo
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 22 Oct 2009 14:38:23 +0000 (10:38 -0400)
committerDerrick Brashear <shadow|account-1000005@unknown>
Fri, 23 Oct 2009 18:19:01 +0000 (11:19 -0700)
Fix 'afsconf_GetExtendedCellInfo' : different types for formal
and actual parameter 5

Change-Id: I922d653a88a9d0c04ed6dbd1c9c0b3fc90719337
Reviewed-on: http://gerrit.openafs.org/715
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/bozo/bosoprocs.c
src/budb/server.c
src/kauth/kaserver.c
src/ptserver/ptserver.c
src/vlserver/vlserver.c

index 2ff668e..4794f28 100644 (file)
@@ -382,7 +382,7 @@ SBOZO_SetCellName(struct rx_call *acall, char *aname)
 
     code =
        afsconf_GetExtendedCellInfo(bozo_confdir, NULL, NULL, &tcell,
-                                   &clones);
+                                   clones);
     if (code)
        goto fail;
 
@@ -434,7 +434,7 @@ SBOZO_GetCellHost(struct rx_call *acall, afs_uint32 awhich, char **aname)
 
     code =
        afsconf_GetExtendedCellInfo(bozo_confdir, NULL, NULL, &tcell,
-                                   &clones);
+                                   clones);
     if (code)
        goto fail;
 
@@ -480,7 +480,7 @@ SBOZO_DeleteCellHost(struct rx_call *acall, char *aname)
 
     code =
        afsconf_GetExtendedCellInfo(bozo_confdir, NULL, NULL, &tcell,
-                                   &clones);
+                                   clones);
     if (code)
        goto fail;
 
@@ -529,7 +529,7 @@ SBOZO_AddCellHost(struct rx_call *acall, char *aname)
 
     code =
        afsconf_GetExtendedCellInfo(bozo_confdir, NULL, NULL, &tcell,
-                                   &clones);
+                                   clones);
     if (code)
        goto fail;
 
index a9d5af6..f232cad 100644 (file)
@@ -491,8 +491,8 @@ main(int argc, char **argv)
 
        LogDebug(1, "Using server list from %s cell database.\n", lcell);
 
-       code = afsconf_GetExtendedCellInfo (BU_conf, lcell, 0, &cellinfo, 
-                                           &clones); 
+       code = afsconf_GetExtendedCellInfo (BU_conf, lcell, 0, &cellinfo,
+                                           clones);
        code =
            convert_cell_to_ubik(&cellinfo, &globalConfPtr->myHost,
                                 globalConfPtr->serverList);
index 1fae422..cab9a76 100644 (file)
@@ -323,7 +323,7 @@ main(int argc, char *argv[])
 
     code =
        afsconf_GetExtendedCellInfo(KA_conf, cell, AFSCONF_KAUTHSERVICE,
-                                   &cellinfo, &clones);
+                                   &cellinfo, clones);
     if (servers) {
        if ((code = ubik_ParseServerList(argc, argv, &myHost, serverList))) {
            afs_com_err(whoami, code, "Couldn't parse server list");
index 79b5ef4..2c958a9 100644 (file)
@@ -452,7 +452,7 @@ main(int argc, char **argv)
 
     /* get list of servers */
     code =
-       afsconf_GetExtendedCellInfo(prdir, NULL, "afsprot", &info, &clones);
+       afsconf_GetExtendedCellInfo(prdir, NULL, "afsprot", &info, clones);
     if (code) {
        afs_com_err(whoami, code, "Couldn't get server list");
        PT_EXIT(2);
index 325a60f..b86eafe 100644 (file)
@@ -304,7 +304,7 @@ main(int argc, char **argv)
     /* get list of servers */
     code =
        afsconf_GetExtendedCellInfo(tdir, NULL, AFSCONF_VLDBSERVICE, &info,
-                                   &clones);
+                                   clones);
     if (code) {
        printf("vlserver: Couldn't get cell server list for 'afsvldb'.\n");
        exit(2);