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
This commit is contained in:
Elliott Hughes
2014-05-16 16:50:34 -07:00
parent 5e6e3edbba
commit 4c2da039ba
2 changed files with 27 additions and 13 deletions

View File

@@ -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;
/*