mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
STABLE14-placate-netbsd-cc-20040826
netbsd's cc doesn't like multiple semicolons in variable declarations,
so move OSI_VC_CONVERT down to the last statement
(cherry picked from commit 4d906fec23
)
This commit is contained in:
parent
d44a71e70d
commit
8660663e6a
@ -1128,13 +1128,13 @@ afs_lookup(adp, aname, avcp, acred)
|
||||
int pass = 0, hit = 0;
|
||||
long dirCookie;
|
||||
extern afs_int32 afs_mariner; /*Writing activity to log? */
|
||||
OSI_VC_CONVERT(adp);
|
||||
afs_hyper_t versionNo;
|
||||
int no_read_access = 0;
|
||||
struct sysname_info sysState; /* used only for @sys checking */
|
||||
int dynrootRetry = 1;
|
||||
struct afs_fakestat_state fakestate;
|
||||
int tryEvalOnly = 0;
|
||||
OSI_VC_CONVERT(adp);
|
||||
|
||||
AFS_STATCNT(afs_lookup);
|
||||
afs_InitFakeStat(&fakestate);
|
||||
|
@ -46,7 +46,7 @@ typedef struct timeval osi_timeval_t;
|
||||
#endif /* !KERNEL */
|
||||
|
||||
#define XSTATS_DECLS struct afs_stats_opTimingData *opP; \
|
||||
osi_timeval_t opStartTime, opStopTime, elapsedTime;
|
||||
osi_timeval_t opStartTime, opStopTime, elapsedTime
|
||||
|
||||
#define XSTATS_START_TIME(arg) \
|
||||
opP = &(afs_stats_cmfullperf.rpc.fsRPCTimes[arg]); \
|
||||
|
Loading…
Reference in New Issue
Block a user