diff options
author | Elliott Hughes <enh@google.com> | 2014-05-16 16:50:34 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-16 16:50:34 -0700 |
commit | 4c2da039baa6c621c78afa47ead85ec9e028f56d (patch) | |
tree | 2fba53079e6ae8ecd692e8842e997845486ae2df /libc/stdio | |
parent | 5e6e3edbba20bf5a166ea9d06a8f2f38a40e122f (diff) | |
download | bionic-4c2da039baa6c621c78afa47ead85ec9e028f56d.zip bionic-4c2da039baa6c621c78afa47ead85ec9e028f56d.tar.gz bionic-4c2da039baa6c621c78afa47ead85ec9e028f56d.tar.bz2 |
Fix the newly-introduced warning and turn on -Werror.
I cleaned up most of our warnings last week but forgot to turn on -Werror,
so of course we're getting new warnings already. I've left -Werror commented
out in those places where we still have warnings to deal with before we can
turn on -Werror.
Change-Id: Ia58ff8b8c1ada4bf81eec6f19ec1d34e133cf4b1
Diffstat (limited to 'libc/stdio')
-rw-r--r-- | libc/stdio/local.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/stdio/local.h b/libc/stdio/local.h index 907fd21..7afa761 100644 --- a/libc/stdio/local.h +++ b/libc/stdio/local.h @@ -63,10 +63,7 @@ int __svfscanf(FILE * __restrict, const char * __restrict, __va_list); int __vfwprintf(FILE * __restrict, const wchar_t * __restrict, __va_list); int __vfwscanf(FILE * __restrict, const wchar_t * __restrict, __va_list); -/* - * Function to clean up streams, called from abort() and exit(). - */ -extern void (*__cleanup)(void); +extern void __atexit_register_cleanup(void (*)(void)); extern int __sdidinit; /* |