summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>1999-11-03 03:17:31 +0000
committerbp <bp@FreeBSD.org>1999-11-03 03:17:31 +0000
commit9352858d9b23d9079fc5e73222f9fb26baa3e5ff (patch)
treeb222592a95fb8a79fe61f52d9721267c11908570 /lib
parentcc3fdb5fc5dedeaa2f62e6949bb5a44dfd5f4aa5 (diff)
downloadFreeBSD-src-9352858d9b23d9079fc5e73222f9fb26baa3e5ff.zip
FreeBSD-src-9352858d9b23d9079fc5e73222f9fb26baa3e5ff.tar.gz
Change structure field tolower to to_lower. The same for the toupper.
Diffstat (limited to 'lib')
-rw-r--r--lib/libncp/ncpl_nls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libncp/ncpl_nls.c b/lib/libncp/ncpl_nls.c
index 92bc013..f9e14f5 100644
--- a/lib/libncp/ncpl_nls.c
+++ b/lib/libncp/ncpl_nls.c
@@ -159,15 +159,15 @@ int
ncp_nls_setlocale(char *name) {
int i;
- ncp_nls.tolower = def2lower;
- ncp_nls.toupper = def2upper;
+ ncp_nls.to_lower = def2lower;
+ ncp_nls.to_upper = def2upper;
if (setlocale(LC_CTYPE, name) == NULL) {
fprintf(stderr, "Can't set locale '%s'\n", name);
return EINVAL;
}
for (i = 0; i < 256; i++) {
- ncp_nls.tolower[i] = tolower(i);
- ncp_nls.toupper[i] = toupper(i);
+ ncp_nls.to_lower[i] = tolower(i);
+ ncp_nls.to_upper[i] = toupper(i);
}
return 0;
}
OpenPOWER on IntegriCloud