This fixes the following warnings when compiling with CC=cgcc:
config.c:197:46: warning: Using plain integer as NULL pointer
image-ext2.c:208:9: warning: Using plain integer as NULL pointer
image-ext2.c:212:9: warning: Using plain integer as NULL pointer
image-ext2.c:213:9: warning: Using plain integer as NULL pointer
image-hd.c:663:11: warning: symbol 'hdimage_opts' was not declared. Should it be static?
image-iso.c:52:9: warning: Using plain integer as NULL pointer
image-rauc.c:191:9: warning: Using plain integer as NULL pointer
image-vfat.c:130:9: warning: Using plain integer as NULL pointer
This fixes the following warnings when compiling with CC=cgcc:
Note, you might want to also use libconfuse with https://github.com/libconfuse/libconfuse/pull/148, otherwise there are just too many warnings resulting from macros defined there.
If you like this PR it would be great if you label it with
hacktoberfest-accepted
after application.