libadmin: #define UBIK_LEGACY_CALLITER 1 in afs_kasAdmin.c
authorAnders Kaseorg <andersk@mit.edu>
Sat, 1 Aug 2015 00:47:35 +0000 (20:47 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Sat, 1 Aug 2015 04:39:12 +0000 (00:39 -0400)
commit8d75f24aae3d2ed62dc070fd257464713d615a23
treee66e75d9a7e8abec5d40d13377de36c832de25b8
parent22481ab3705522ac1988b7de038c4dbc1e5009a9
libadmin: #define UBIK_LEGACY_CALLITER 1 in afs_kasAdmin.c

Replaces this warning:

afs_kasAdmin.c: In function ‘GetPrincipalLockStatus’:
afs_kasAdmin.c:710:6: warning: implicit declaration of function ‘ubik_CallIter’ [-Wimplicit-function-declaration]
      ubik_CallIter(KAM_LockStatus, kaserver->servers, UPUBIKONLY,
      ^

with these marginally less alarming warnings:

In file included from ../adminutil/afs_AdminInternal.h:17:0,
                 from afs_kasAdmin.c:21:
/home/anders/wd/openafs/include/ubik.h:627:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 extern afs_int32 ubik_CallIter(int (*aproc) (), struct ubik_client *aclient,
 ^
/home/anders/wd/openafs/include/ubik.h:632:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 extern afs_int32 ubik_Call_New(int (*aproc) (), struct ubik_client
 ^

Change-Id: I49dbc5f6bb9199764c73c6ee8449d62518f377e6
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-on: http://gerrit.openafs.org/11954
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
CODING
src/libadmin/kas/afs_kasAdmin.c