• Peter Foley's avatar
    kconfig: use xfwrite wrapper function to silence warnings · 70cc01e7
    Peter Foley authored
    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: default avatarPeter Foley <pefoley2@verizon.net>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    70cc01e7
confdata.c 23.9 KB