cleanup utf-8 multibyte code, use visibility if possible
authorRich Felker <dalias@aerifal.cx>
Sun, 27 Feb 2011 05:28:59 +0000 (00:28 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 27 Feb 2011 05:28:59 +0000 (00:28 -0500)
commit015d33c5075b9c0a4df8f28e844e4f7ace91c647
tree6afdfbd8af5c6c7a550f8cf4a070e965b6806897
parent2a195dd31ceb2a483ea547444aac080bee132ad2
cleanup utf-8 multibyte code, use visibility if possible

this code was written independently of musl, with support for a the
backwards, nonstandard "31-bit unicode" some libraries/apps might
want. unfortunately the extra code (inside #ifdef) makes the source
harder to read and makes code that should be simple look complex, so
i'm removing it. anyone who wants to use the old code can find it in
the history or from elsewhere.

also, change the visibility of the __fsmu8 state machine table to
hidden, if supported. this should improve performance slightly in
shared-library builds.
src/multibyte/internal.c
src/multibyte/internal.h
src/multibyte/mbsrtowcs.c