From 48508a202129be6e56beaec56314cc13d68d69f5 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 20 Jan 2011 01:33:27 -0500 Subject: [PATCH] vol: avoid defining unused struct on windows namei_ogm_t is not used on Windows. There is no equivalent to owner/group mode. Change-Id: Ib0675f106bf5e77b006ebe5eae5d67ee232313e0 Reviewed-on: http://gerrit.openafs.org/3698 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/vol/namei_ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vol/namei_ops.c b/src/vol/namei_ops.c index 7dec3fee75..9d562717b5 100644 --- a/src/vol/namei_ops.c +++ b/src/vol/namei_ops.c @@ -203,12 +203,13 @@ namei_iwrite(IHandle_t * h, afs_foff_t offset, char *buf, afs_fsize_t size) * group at once. */ - +#ifndef AFS_NT40_ENV typedef struct { int ogm_owner; int ogm_group; int ogm_mode; } namei_ogm_t; +#endif static int GetFreeTag(IHandle_t * ih, int vno);