Change wctype_t from enum to int

This increases bionic source compatibility with other libcs where
"wctype_t foo = 0;" is valid without -fpermissive.

Bug: 14646243
Change-Id: Ia9bd0785bc42c7b46e2bb6c3d9b9a9d3f769d983
Change wctype_t from int to long.

On LP64 this brings us on par with the other libcs where wctype_t is 8
bytes.

Bug: 12875898
Change-Id: Ice4f538ccf0634ef6667a8d90d0f7f09cec9e1b0
Merge "Change wctype_t from enum to int"
Merge "Change wctype_t from int to long."
Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc.

Glibc calls the tag pointer in user_fpregs_struct ftw instead of twd.

Change-Id: I4a8dab777fa889de0b9927035cd18557ae6f3263
Merge "Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc."
Switch to g_ for globals.

That's what the Google style guide recommends, and we're starting
to get a mix.

Change-Id: Ib0c53a890bb5deed5c679e887541a715faea91fc
Merge "Switch to g_ for globals."
Fix a typo in the big g_ search/replace.

Change-Id: I79261de70d225236d0eadff288220258d697437f
Merge "Fix a typo in the big g_ search/replace."
Mark sockets on accept().

(cherry picked from commit 58b1f3f6a30a660ad81637c2b50382c3d279243b)

Change-Id: I5d09be413cf720fbed905f96313b007997ada76c
Remove the broken pthread deadlock prediction.

This hasn't built in over one release cycle and no one even noticed.
art does this the right way and other projects should do the same.

Change-Id: I7d1fb84c4080e008f329ee73e209ce85a36e6d55
Add a regression test for a long-fixed pthread_once bug.

Bug: 1934122
Change-Id: Iae09baedc2c6ed4036521e51718fe9d015bc56b9
Merge "Remove the broken pthread deadlock prediction."
Merge "Add a regression test for a long-fixed pthread_once bug."
Add a unit test for already-fixed printf -0.0 formatting.

This was fixed by the upgrade to upstream head.

Bug: 5084292
Change-Id: Ia3bda1c0bbe38f428e22213b8bdbdf1a16caccf2
Merge "Mark sockets on accept()."
Fix for linker allocator

Change-Id: I18a3f1a8515657f0deb69266184fb516a27f90e8
Merge "Add a unit test for already-fixed printf -0.0 formatting."
Add tests for fprintf behavior when the underlying fd is bad.

Bug: 7229520
Change-Id: Ie878e0c13fdcda7b9131fa56208b84ed88125be7