Reduced -Wno-unused to -Wno-unused-parameter to make it easier to find orphans from the current windows code purge.
Fixed a misunderstanding in previous masking of cleaned values and functions.
Removed masked parts from custom.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from events.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from ami-win.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from be-Window.cpp that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from ncurses.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from sdlgfx.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from xwin.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from gfxutil.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from puae_mainwindow.cpp that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from events.h that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from gfxfilter.h that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from inputdevice.h that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from sana2.h that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from savestate.h that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from scsidev.h that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from inputdevice.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from inputrecord.c that where masked while cleaning misc.c and misc.h from obsolete content.
Removed masked parts from memory.c that where masked while cleaning misc.c and misc.h from obsolete content.