From: Rich Felker Date: Wed, 22 Apr 2015 06:34:16 +0000 (-0400) Subject: remove libc.h dependency from otherwise-independent multibyte code X-Git-Tag: v1.1.9~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9d836f444fbbf9e56155e5f2589d2bb8698c033c;p=oweals%2Fmusl.git remove libc.h dependency from otherwise-independent multibyte code --- 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 -#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 */