diff options
author | Christopher Ferris <cferris@google.com> | 2014-10-09 18:31:01 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2014-10-09 18:31:01 -0700 |
commit | c891e24073830e07ba7373dee554ff2c70e1d313 (patch) | |
tree | 7cf34412af26d9366bff2d7057c405ab59bee718 /libc | |
parent | c9734d24d92f4737f5ab3808c77d816a1b084582 (diff) | |
download | bionic-c891e24073830e07ba7373dee554ff2c70e1d313.tar.gz |
Add back symbols to fix Greed for Glory franchise.lollipop-dev
Bug: 17813018
Change-Id: Id939426ee5303117b9601e7915fcfec5024fc621
Diffstat (limited to 'libc')
-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); |