From 8660663e6a346c1d2a4dc609405261aae0ec8808 Mon Sep 17 00:00:00 2001 From: Nickolai Zeldovich Date: Sun, 29 Aug 2004 02:18:56 +0000 Subject: [PATCH] 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 4d906fec23916230936763ef36d6bc7a79c8eebf) --- src/afs/VNOPS/afs_vnop_lookup.c | 2 +- src/afs/afs_stats.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index c2a413a325..bb908163d6 100644 --- a/src/afs/VNOPS/afs_vnop_lookup.c +++ b/src/afs/VNOPS/afs_vnop_lookup.c @@ -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); diff --git a/src/afs/afs_stats.h b/src/afs/afs_stats.h index 35f6575a1d..2fa76aa2a4 100644 --- a/src/afs/afs_stats.h +++ b/src/afs/afs_stats.h @@ -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]); \