summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-11-02 22:46:42 +0000
committerarchie <archie@FreeBSD.org>1999-11-02 22:46:42 +0000
commit71ff24eb062b0e46efa862cb9769dd91357344e4 (patch)
treef379e55c4071e2df2aa688445973227b22b0c19f /sys/fs/nwfs
parent52125b012db4133c7d43ed834200fb3375856a2f (diff)
downloadFreeBSD-src-71ff24eb062b0e46efa862cb9769dd91357344e4.zip
FreeBSD-src-71ff24eb062b0e46efa862cb9769dd91357344e4.tar.gz
Change structure field named 'toupper' to 'to_upper' to avoid conflict
with the macro of the same name. Same thing for 'tolower'.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 2f03564..d9e5f57 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -117,8 +117,8 @@ nwfs_initnls(struct nwmount *nmp) {
nmp->m.nls.opt |= NWHP_NLS | NWHP_DOS;
if ((nmp->m.flags & NWFS_MOUNT_HAVE_NLS) == 0) {
- nmp->m.nls.tolower = ncp_defnls.tolower;
- nmp->m.nls.toupper = ncp_defnls.toupper;
+ nmp->m.nls.to_lower = ncp_defnls.to_lower;
+ nmp->m.nls.to_upper = ncp_defnls.to_upper;
nmp->m.nls.n2u = ncp_defnls.n2u;
nmp->m.nls.u2n = ncp_defnls.u2n;
return 0;
@@ -127,8 +127,8 @@ nwfs_initnls(struct nwmount *nmp) {
if (pe == NULL) return ENOMEM;
pc = pe;
do {
- COPY_TABLE(nmp->m.nls.tolower, ncp_defnls.tolower);
- COPY_TABLE(nmp->m.nls.toupper, ncp_defnls.toupper);
+ COPY_TABLE(nmp->m.nls.to_lower, ncp_defnls.to_lower);
+ COPY_TABLE(nmp->m.nls.to_upper, ncp_defnls.to_upper);
COPY_TABLE(nmp->m.nls.n2u, ncp_defnls.n2u);
COPY_TABLE(nmp->m.nls.u2n, ncp_defnls.u2n);
} while(0);
@@ -277,7 +277,7 @@ nwfs_unmount(struct mount *mp, int mntflags, struct proc *p)
}
mp->mnt_data = (qaddr_t)0;
if (nmp->m.flags & NWFS_MOUNT_HAVE_NLS)
- free(nmp->m.nls.tolower, M_NWFSDATA);
+ free(nmp->m.nls.to_lower, M_NWFSDATA);
free(nmp, M_NWFSDATA);
mp->mnt_flag &= ~MNT_LOCAL;
return (error);
OpenPOWER on IntegriCloud