Code cleanup (#393)

* Code cleanup using deheader for removing unnused headers and adding others to be portable. Removed unused files and renamed .cpp files that are only used as #includes in others

* add missing files
This commit is contained in:
Christer Solskogen 2018-12-23 15:34:53 +01:00 committed by Dimitris Panokostas
parent ac1c64d52f
commit a3dd9af895
140 changed files with 442 additions and 10639 deletions

View file

@ -21,17 +21,17 @@
* Will probably fail spectacularly in some cases if the filesystem is
* modified at the same time by another process while UAE is running.
*/
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
#include "sysconfig.h"
#include "sysdeps.h"
#include "threaddep/thread.h"
#include "options.h"
#include "traps.h"
#include "uae.h"
#include "memory.h"
#include "custom.h"
#include "newcpu.h"
#include "filesys.h"
#include "autoconf.h"
#include "fsusage.h"
@ -45,7 +45,6 @@
#include "bsdsocket.h"
#include "uaeresource.h"
#include "inputdevice.h"
#include "blkdev.h"
#include "picasso96.h"
#include "rommgr.h"
@ -7499,7 +7498,7 @@ void filesys_install_code (void)
bootrom_header = 3 * 4;
align(4);
bootrom_start = here ();
#include "filesys_bootrom.cpp"
#include "filesys_bootrom.cpp.in"
items = dlg (bootrom_start + 8) & 0xffff;
/* The last offset comes from the code itself, look for it near the top. */