Remove unneeded includes

This commit is contained in:
Allofich 2021-06-03 15:45:37 +09:00
parent a62a5cd9f5
commit 67ebe980a7
31 changed files with 0 additions and 123 deletions

View File

@ -1,7 +1,4 @@
#include <stdio.h>
#include <stdint.h>
//! \brief Intel 8255 base emulation class
//!
//! \description Intel 8255 Programmable Peripheral Interface emulation class.

View File

@ -16,10 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include "regionalloctracking.h"
#ifndef DOSBOX_BIOS_H

View File

@ -19,11 +19,6 @@
#ifndef DOSBOX_BIOS_DISK_H
#define DOSBOX_BIOS_DISK_H
#include <stdio.h>
#include <stdlib.h>
#ifndef DOSBOX_MEM_H
#include "mem.h"
#endif
#ifndef DOSBOX_DOS_INC_H
#include "dos_inc.h"
#endif

View File

@ -2,9 +2,6 @@
#ifndef __ISP_UTILS_V4_BITMAPINFOHEADER
#define __ISP_UTILS_V4_BITMAPINFOHEADER
#include <stdint.h>
#include "informational.h"
/* [doc] windows_BITMAPFILEHEADER
*
* Packed portable representation of the Microsoft Windows BITMAPFILEHEADER

View File

@ -2,8 +2,6 @@
#include <limits.h>
#include <stdint.h>
#include <utility>
namespace bitop {
/* Return the number of bits of the data type.

View File

@ -7,18 +7,11 @@
*
* (C) 2014 Jonathan Campbell */
#include <stdint.h>
#include <assert.h>
#include <math.h>
#include <string>
#include <vector>
#include <list>
#ifndef DOSBOX_CLOCKDOMAIN_H
#define DOSBOX_CLOCKDOMAIN_H
#include "dosbox.h"
/* this code contains support for existing DOSBox code that uses PIC_AddEvent, etc. callbacks */
#include "pic.h"

View File

@ -28,27 +28,6 @@
#ifndef DOSBOX_PROGRAMS_H
#include "programs.h"
#endif
#ifndef DOSBOX_SETUP_H
#include "setup.h"
#endif
#ifndef CH_LIST
#define CH_LIST
#include <list>
#endif
#ifndef CH_VECTOR
#define CH_VECTOR
#include <vector>
#endif
#ifndef CH_STRING
#define CH_STRING
#include <string>
#endif
class Config{
public:

View File

@ -20,15 +20,9 @@
#ifndef DOSBOX_CPU_H
#define DOSBOX_CPU_H
#ifndef DOSBOX_DOSBOX_H
#include "dosbox.h"
#endif
#ifndef DOSBOX_REGS_H
#include "regs.h"
#endif
#ifndef DOSBOX_MEM_H
#include "mem.h"
#endif
#define CPU_AUTODETERMINE_NONE 0x00
#define CPU_AUTODETERMINE_CORE 0x01

View File

@ -24,10 +24,7 @@
#include "dosbox.h"
#endif
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <string>
#if defined (_MSC_VER) /* MS Visual C++ */
#include <direct.h>

View File

@ -19,7 +19,6 @@
#ifndef DOSBOX_DMA_H
#define DOSBOX_DMA_H
#include <fstream>
enum DMAEvent {
DMA_REACHED_TC,

View File

@ -20,15 +20,11 @@
#ifndef DOSBOX_DOS_INC_H
#define DOSBOX_DOS_INC_H
#include <stddef.h>
#define CTBUF 127
#ifndef DOSBOX_DOS_SYSTEM_H
#include "dos_system.h"
#endif
#ifndef DOSBOX_MEM_H
#include "mem.h"
#endif
#include <stddef.h> //for offsetof
#ifdef _MSC_VER

View File

@ -20,10 +20,6 @@
#ifndef DOSBOX_DOS_SYSTEM_H
#define DOSBOX_DOS_SYSTEM_H
#include <vector>
#ifndef DOSBOX_DOSBOX_H
#include "dosbox.h"
#endif
#ifndef DOSBOX_CROSS_H
#include "cross.h"
#endif
@ -33,7 +29,6 @@
#ifndef DOSBOX_MEM_H
#include "mem.h"
#endif
#include <ctype.h>
#define DOS_NAMELENGTH 12u
#define DOS_NAMELENGTH_ASCII (DOS_NAMELENGTH+1)

View File

@ -21,7 +21,6 @@
#define DOSBOX_DOSBOX_H
#include "config.h"
#include "logging.h"
#if defined(C_ICONV)
/* good */

View File

@ -19,9 +19,7 @@
#ifndef DOSBOX_ETHERNET_H
#define DOSBOX_ETHERNET_H
#include "config.h"
#include "control.h"
#include <functional>
/** A virtual Ethernet connection
* While emulated Ethernet adapters provide the ability for the guest OS to

View File

@ -19,10 +19,6 @@
#ifndef DOSBOX_FPU_H
#define DOSBOX_FPU_H
#ifndef DOSBOX_MEM_H
#include "mem.h"
#endif
#include "mmx.h"
void FPU_ESC0_Normal(Bitu rm);

View File

@ -20,8 +20,6 @@
#ifndef DOSBOX_HARDWARE_H
#define DOSBOX_HARDWARE_H
#include <stdio.h>
class Section;
enum OPL_Mode {
OPL_none,OPL_cms,OPL_opl2,OPL_dualopl2,OPL_opl3,OPL_opl3gold,OPL_hardware,OPL_hardwareCMS

View File

@ -33,9 +33,6 @@
#endif
#endif
#ifndef DOSBOX_DOSBOX_H
#include "dosbox.h"
#endif
#ifndef DOSBOX_MEM_H
#include "mem.h"
#endif

View File

@ -19,7 +19,6 @@
#ifndef DOSBOX_LOGGING_H
#define DOSBOX_LOGGING_H
#include <stdio.h>
#include "setup.h"
enum LOG_TYPES {

View File

@ -20,8 +20,6 @@
#ifndef DOSBOX_MIXER_H
#define DOSBOX_MIXER_H
#include <sstream>
#ifndef DOSBOX_DOSBOX_H
#include "dosbox.h"
#endif

View File

@ -2,11 +2,8 @@
* to help port code from Neko Project II and match the typedefs
* it uses. */
#include <math.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#if defined(WIN32)

View File

@ -21,7 +21,6 @@
#define DOSBOX_PAGING_H
#ifndef DOSBOX_DOSBOX_H
#include <iostream>
#include "dosbox.h"
#endif
#ifndef DOSBOX_MEM_H

View File

@ -27,16 +27,6 @@
#include "dos_inc.h"
#endif
#ifndef CH_LIST
#define CH_LIST
#include <list>
#endif
#ifndef CH_STRING
#define CH_STRING
#include <string>
#endif
class CommandLine {
public:
enum opt_style {

View File

@ -20,11 +20,6 @@
#ifndef DOSBOX_QCOW2_DISK_H
#define DOSBOX_QCOW2_DISK_H
#include <iostream>
#include <fstream>
#include <iomanip>
#include <stdint.h>
#include "config.h"
#include "bios_disk.h"

View File

@ -1,9 +1,6 @@
#include "dosbox.h"
#include <vector>
#include <string>
#ifndef DOSBOX_REGIONALLOCTRACKING_H
#define DOSBOX_REGIONALLOCTRACKING_H

View File

@ -19,8 +19,6 @@
#ifndef DOSBOX_REGS_H
#define DOSBOX_REGS_H
#include <iostream>
#ifndef DOSBOX_MEM_H
#include "mem.h"
#endif

View File

@ -43,12 +43,6 @@
#include <string>
#endif
#ifndef CH_CSTDIO
#define CH_CSTDIO
#include <stdio.h>
#endif
class Hex {
private:
int _hex;

View File

@ -20,7 +20,6 @@
#ifndef DOSBOX_SHELL_H
#define DOSBOX_SHELL_H
#include <ctype.h>
#ifndef DOSBOX_DOSBOX_H
#include "dosbox.h"
#endif
@ -28,10 +27,6 @@
#include "programs.h"
#endif
#include <string>
#include <list>
#include <map>
#include <SDL.h>
#if SDL_VERSION_ATLEAST(2, 0, 0)
#define SDL_STRING "SDL2"

View File

@ -6,10 +6,6 @@
#ifndef __UTIL_POINTER_H
#define __UTIL_POINTER_H
#include <stdint.h> /* need standard C library integer types */
#include <stddef.h>
#include <alloca.h>
#define min_uintptr_t ((uintptr_t)0)
#define max_uintptr_t ( ~((uintptr_t)0) )

View File

@ -23,7 +23,6 @@
#ifndef DOSBOX_DOSBOX_H
#include "dosbox.h"
#endif
#include <iostream>
#define VGA_LFB_MAPPED

View File

@ -2,8 +2,6 @@
#ifndef __ISP_UTILS_V4_WAVEMMREG_H
#define __ISP_UTILS_V4_WAVEMMREG_H
#include <stdint.h>
/* [doc] windows_WAVE_FORMAT_... constants
*
* windows_WAVE_FORMAT_PCM 8 & 16-bit PCM

View File

@ -2,8 +2,6 @@
#ifndef __ISP_UTILS_V4_WIN_WAVEFORMATEX_H
#define __ISP_UTILS_V4_WIN_WAVEFORMATEX_H
#include <stdint.h>
#include "informational.h"
#include "guid.h" /* <- need windows_GUID definition below */