diff options
author | Christopher Ferris <cferris@google.com> | 2014-10-09 18:31:01 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2014-10-09 22:23:50 -0700 |
commit | 78ba823033e5767f54e8f4a1f9986bbc6fe57e82 (patch) | |
tree | e9c471b6fe616dba87180d308291c220aee27683 /libc/stdio | |
parent | 8dd3b65f2dd63df1baa83285f607cf110f21c27c (diff) | |
download | bionic-78ba823033e5767f54e8f4a1f9986bbc6fe57e82.tar.gz bionic-78ba823033e5767f54e8f4a1f9986bbc6fe57e82.tar.bz2 bionic-78ba823033e5767f54e8f4a1f9986bbc6fe57e82.zip |
Add back symbols to fix Greed for Glory franchise.
Bug: 17813018
(cherry picked from commit c891e24073830e07ba7373dee554ff2c70e1d313)
Change-Id: I4e891c2dbad9ea00d2377c5175317d9ae3840153
Diffstat (limited to 'libc/stdio')
-rw-r--r-- | libc/stdio/local.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libc/stdio/local.h b/libc/stdio/local.h index eb848338d..13188ee1b 100644 --- a/libc/stdio/local.h +++ b/libc/stdio/local.h @@ -60,17 +60,19 @@ __LIBC64_HIDDEN__ FILE* __sfp(void); __LIBC64_HIDDEN__ void __sinit(void); __LIBC64_HIDDEN__ void __smakebuf(FILE*); +/* These are referenced by the Greed for Glory franchise. */ +__LIBC64_HIDDEN__ int __sflush(FILE *); +__LIBC64_HIDDEN__ int __sread(void *, char *, int); +__LIBC64_HIDDEN__ int __swrite(void *, const char *, int); +__LIBC64_HIDDEN__ fpos_t __sseek(void *, fpos_t, int); +__LIBC64_HIDDEN__ int __sclose(void *); +__LIBC64_HIDDEN__ int _fwalk(int (*)(FILE *)); + #pragma GCC visibility push(hidden) -int __sflush(FILE *); int __sflush_locked(FILE *); -int __sread(void *, char *, int); -int __swrite(void *, const char *, int); -fpos_t __sseek(void *, fpos_t, int); -int __sclose(void *); void _cleanup(void); int __swhatbuf(FILE *, size_t *, int *); -int _fwalk(int (*)(FILE *)); wint_t __fgetwc_unlock(FILE *); wint_t __ungetwc(wint_t, FILE *); int __vfprintf(FILE *, const char *, __va_list); |