Expose __srefill for LP64 until we can fix the NDK.

The LP64 has a duplicate copy of part of stdio, and relies
on bionic supplying this part. We should remove the hack from
the NDK, at least for LP64, and then revert this.

Bug: 15291317
Change-Id: I75e06e130188ca0aeb9d50dfe3a3e48a1d3968b7
This commit is contained in:
Elliott Hughes 2014-05-27 21:23:36 -07:00
parent 1454ff2574
commit f6d2ca2696

View file

@ -54,7 +54,9 @@ __LIBC_HIDDEN__ int __swbuf(int, FILE*);
* The NDK apparently includes an android_support.a library that
* refers to __srefill in its copy of the vsnprintf implementation.
*/
__LIBC_HIDDEN__ int __srefill(FILE*);
/* TODO(LP64): __LIBC_HIDDEN__ int __srefill(FILE*);*/
/* http://b/15291317: the LP64 NDK needs to be fixed to remove that cruft. */
__LIBC_ABI_PUBLIC__ int __srefill(FILE*);
#else
__LIBC_ABI_PUBLIC__ int __srget(FILE*);
__LIBC_ABI_PUBLIC__ int __swbuf(int, FILE*);