From 78ba823033e5767f54e8f4a1f9986bbc6fe57e82 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Thu, 9 Oct 2014 18:31:01 -0700 Subject: Add back symbols to fix Greed for Glory franchise. Bug: 17813018 (cherry picked from commit c891e24073830e07ba7373dee554ff2c70e1d313) Change-Id: I4e891c2dbad9ea00d2377c5175317d9ae3840153 --- libc/stdio/local.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'libc/stdio') 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); -- cgit v1.2.3