projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more dynamic linker internals cleanup
[musl]
/
src
/
ctype
/
wcwidth.c
diff --git
a/src/ctype/wcwidth.c
b/src/ctype/wcwidth.c
index
ab05cfe
..
98f128e
100644
(file)
--- a/
src/ctype/wcwidth.c
+++ b/
src/ctype/wcwidth.c
@@
-1,4
+1,4
@@
-#include <wc
type
.h>
+#include <wc
har
.h>
static unsigned char table[] = {
#include "nonspacing.h"
@@
-8,7
+8,7
@@
static unsigned char wtable[] = {
#include "wide.h"
};
-int wcwidth(w
int
_t wc)
+int wcwidth(w
char
_t wc)
{
if (wc < 0xffU)
return (wc+1 & 0x7f) >= 0x21 ? 1 : wc ? -1 : 0;