Updated some of the older syntax in the configure.ac files and added missing header checks to configure.ac and sysconfig.h.in
Fixed a stupid ignore rule error of mine in .gitignore
Removed prototypes from static functions that are internal to the compilation unit.
Marked read_rom_list() in gui-qt/puae_bridge.[h|cpp] as FIXME, because the used scan_roms() function in misc.c is useless without the windows code. It does nothing.
Fixed empty bug macro to no longer leave its arguments alone when disabled.
Added missing includes, fixed the type of the declaration of my_readdir(), added error handling for fread/fwrite calls that are marked WARN UNUSED.
Marked parts in inputrecord.[c|h] for removal with REMOVEME that are nowhere used.
Moved internal static int td_pos from statusline.h to statusline.c and marked unused variable "side" for removal with REMOVEME
Changed check_sound_buffers() in sd-alsa/sound.h from static to STATIC_INLINE to be conformant to the other sound.h headers.
Marked broken functions in misc.c/misc.h with FIXME and marked unused variables and functions with REMOVEME.
ar.c:  Marked obsolete or orphaned parts as REMOVEME
unzip.c:  Marked obsolete or orphaned parts as REMOVEME
audio.c:  Marked obsolete or orphaned parts as REMOVEME
blitter.c:  Marked obsolete or orphaned parts as REMOVEME
cd32_fmv.c:  Marked obsolete or orphaned parts as REMOVEME
cia.c:  Marked obsolete or orphaned parts as REMOVEME
custom.c:  Marked suspicious parts as FIXME. Marked obsolete or orphaned parts as REMOVEME
disk.c:  Marked obsolete or orphaned parts as REMOVEME
drawing.c:  Marked unused but useful looking parts as UNUSED. Marked obsolete or orphaned parts as REMOVEME
filesys.c:  Marked obsolete or orphaned parts as REMOVEME