projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9cccfc
)
remove libc.h dependency from otherwise-independent multibyte code
author
Rich Felker
<dalias@aerifal.cx>
Wed, 22 Apr 2015 06:34:16 +0000
(
02:34
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 22 Apr 2015 06:34:16 +0000
(
02:34
-0400)
src/multibyte/internal.h
patch
|
blob
|
history
diff --git
a/src/multibyte/internal.h
b/src/multibyte/internal.h
index 82f5a07e58011c3756fde0db6f109743a5d6f7ed..cc017fa27761638c1bdb97a600bf447bd7a1dfdf 100644
(file)
--- a/
src/multibyte/internal.h
+++ b/
src/multibyte/internal.h
@@
-7,9
+7,11
@@
#define bittab __fsmu8
#include <stdint.h>
-#include "libc.h"
-extern const uint32_t bittab[] ATTR_LIBC_VISIBILITY;
+#ifdef __PIC__
+__attribute__((__visibility__("hidden")))
+#endif
+extern const uint32_t bittab[];
/* Upper 6 state bits are a negative integer offset to bound-check next byte */
/* equivalent to: ( (b-0x80) | (b+offset) ) & ~0x3f */