kconfig: use xfwrite wrapper function to silence warnings
authorPeter Foley <pefoley2@verizon.net>
Sat, 22 Oct 2011 14:48:49 +0000 (10:48 -0400)
committerMichal Marek <mmarek@suse.cz>
Sun, 18 Dec 2011 20:54:12 +0000 (21:54 +0100)
commit70cc01e7579cdb71f42f3f7085ab457be7808783
tree610561c2bd52264da1d6c9a6060f0b9229d1f86d
parent4f0c28f77932c51ba7639a6174047ec8c6560116
kconfig: use xfwrite wrapper function to silence warnings

Use the xfwrite wrapper function defined in lkc.h to check the return value of
fwrite and silence these warnings.

  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c: In function 'header_print_comment':
/usr/src/lto/scripts/kconfig/confdata.c:551:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/zconf.tab.c: In function 'kconfig_print_comment':
/usr/src/lto/scripts/kconfig/confdata.c:467:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result

Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c