projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Moved ctype info into struct lconv.
[fw/pdclib]
/
functions
/
ctype
/
ispunct.c
diff --git
a/functions/ctype/ispunct.c
b/functions/ctype/ispunct.c
index 2859efc32478cc35574d41eebb58ad564ff4e427..4dfd52a7c749191d8fe339453829f0e1cab0d921 100644
(file)
--- a/
functions/ctype/ispunct.c
+++ b/
functions/ctype/ispunct.c
@@
-10,9
+10,11
@@
#ifndef REGTEST
+#include <locale.h>
+
int ispunct( int c )
{
- return ( _PDCLIB_l
ocale_info
.ctype[c].flags & _PDCLIB_CTYPE_PUNCT );
+ return ( _PDCLIB_l
conv
.ctype[c].flags & _PDCLIB_CTYPE_PUNCT );
}
#endif