diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-22 02:34:16 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-22 02:34:16 -0400 |
commit | 9d836f444fbbf9e56155e5f2589d2bb8698c033c (patch) | |
tree | f5a389ed314f6fe2ef5ebafce6f91494f678d694 /src/multibyte/internal.h | |
parent | f9cccfc16e58b39ee381fbdfb8688db3bb8e3555 (diff) | |
download | musl-9d836f444fbbf9e56155e5f2589d2bb8698c033c.tar.gz musl-9d836f444fbbf9e56155e5f2589d2bb8698c033c.tar.bz2 musl-9d836f444fbbf9e56155e5f2589d2bb8698c033c.tar.xz musl-9d836f444fbbf9e56155e5f2589d2bb8698c033c.zip |
remove libc.h dependency from otherwise-independent multibyte code
Diffstat (limited to 'src/multibyte/internal.h')
-rw-r--r-- | src/multibyte/internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/multibyte/internal.h b/src/multibyte/internal.h index 82f5a07e..cc017fa2 100644 --- 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 */ |