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:
Nickolai Zeldovich 2004-08-29 02:18:56 +00:00 committed by Derrick Brashear
parent d44a71e70d
commit 8660663e6a
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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]); \