Merge "Fix warning of missing field initializer."

This commit is contained in:
Chih-Hung Hsieh 2014-11-05 00:46:36 +00:00 committed by Gerrit Code Review
commit 6c8f247581
2 changed files with 2 additions and 3 deletions

View File

@ -784,7 +784,6 @@ endif
LOCAL_CFLAGS := \
$(libc_common_cflags) \
-Wno-missing-field-initializers \
-Wno-sign-compare \
-Wno-uninitialized \
-Wno-unused-parameter \

View File

@ -49,8 +49,8 @@ int __sdidinit;
#define NDYNAMIC 10 /* add ten more whenever necessary */
#define std(flags, file) \
{0,0,0,flags,file,{0},0,__sF+file,__sclose,__sread,__sseek,__swrite, \
{(unsigned char *)(__sFext+file), 0},NULL,0,{0},{0},{0},0,0}
{0,0,0,flags,file,{0,0},0,__sF+file,__sclose,__sread,__sseek,__swrite, \
{(unsigned char *)(__sFext+file), 0},NULL,0,{0},{0},{0,0},0,0}
/* the usual - (stdin + stdout + stderr) */
static FILE usual[FOPEN_MAX - 3];