summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/_ctype.h6
-rw-r--r--include/ctype.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/_ctype.h b/include/_ctype.h
index 093e766..87f22ed 100644
--- a/include/_ctype.h
+++ b/include/_ctype.h
@@ -168,10 +168,10 @@ __tolower(_BSD_CT_RUNE_T_ _c)
}
static __inline int
-__maskrune(_BSD_RUNE_T_ c, unsigned long f)
+__maskrune(_BSD_CT_RUNE_T_ _c, unsigned long f)
{
- return(((c & _CRMASK)
- ? ___runetype(c) : _CurrentRuneLocale->runetype[c]) & f);
+ return(((_c & _CRMASK)
+ ? ___runetype(_c) : _CurrentRuneLocale->runetype[_c]) & f);
}
#else /* not using inlines */
diff --git a/include/ctype.h b/include/ctype.h
index 093e766..87f22ed 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -168,10 +168,10 @@ __tolower(_BSD_CT_RUNE_T_ _c)
}
static __inline int
-__maskrune(_BSD_RUNE_T_ c, unsigned long f)
+__maskrune(_BSD_CT_RUNE_T_ _c, unsigned long f)
{
- return(((c & _CRMASK)
- ? ___runetype(c) : _CurrentRuneLocale->runetype[c]) & f);
+ return(((_c & _CRMASK)
+ ? ___runetype(_c) : _CurrentRuneLocale->runetype[_c]) & f);
}
#else /* not using inlines */
OpenPOWER on IntegriCloud