mirror of https://github.com/OpenTTD/OpenTTD
Codechange: stdarg.h include not needed as cstdarg is included.
parent
56085be9bd
commit
83f2ad500e
|
@ -16,8 +16,6 @@
|
|||
#include "console_func.h"
|
||||
#include "settings_type.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "safeguards.h"
|
||||
|
||||
static const uint ICON_TOKEN_COUNT = 20; ///< Maximum number of tokens in one command
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
/** @file debug.cpp Handling of printing debug messages. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include <stdarg.h>
|
||||
#include "console_func.h"
|
||||
#include "debug.h"
|
||||
#include "string_func.h"
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#include "table/strings.h"
|
||||
#include "table/strgen_tables.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
void CDECL StrgenWarningI(const std::string &msg)
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#include "timer/timer_game_tick.h"
|
||||
#include "rev.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "safeguards.h"
|
||||
|
||||
extern const SaveLoadVersion SAVEGAME_VERSION; ///< current savegame version
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#define INCL_OS2MM
|
||||
#define INCL_WIN
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <os2.h>
|
||||
#include <os2me.h>
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "fileio_func.h"
|
||||
#include "engine_func.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
/** @file newgrf_debug_gui.cpp GUIs for debugging NewGRFs. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include <stdarg.h>
|
||||
#include "core/backup_type.hpp"
|
||||
#include "window_gui.h"
|
||||
#include "window_func.h"
|
||||
|
|
|
@ -76,7 +76,6 @@
|
|||
|
||||
#include "linkgraph/linkgraphschedule.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <system_error>
|
||||
|
||||
#include "safeguards.h"
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
#include <../squirrel/sqvm.h>
|
||||
#include "../core/alloc_func.hpp"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
/**
|
||||
* In the memory allocator for Squirrel we want to directly use malloc/realloc, so when the OS
|
||||
* does not have enough memory the game does not go into unrecoverable error mode and kill the
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
|
||||
#include "table/control_codes.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <ctype.h> /* required for tolower() */
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#ifndef STRING_FUNC_H
|
||||
#define STRING_FUNC_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <iosfwd>
|
||||
|
||||
#include "core/bitmath_func.hpp"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
/** @file textbuf.cpp Textbuffer handling. */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "textbuf_type.h"
|
||||
#include "string_func.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
/** @file window.cpp Windowing system, widgets and events */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include <stdarg.h>
|
||||
#include "company_func.h"
|
||||
#include "gfx_func.h"
|
||||
#include "console_func.h"
|
||||
|
|
Loading…
Reference in New Issue