1
0
Fork 0

Codechange: stdarg.h include not needed as cstdarg is included.

pull/10836/head
Peter Nelson 2023-05-17 09:27:20 +01:00 committed by PeterN
parent 56085be9bd
commit 83f2ad500e
13 changed files with 0 additions and 19 deletions

View File

@ -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

View File

@ -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"

View File

@ -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)

View File

@ -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

View File

@ -18,7 +18,6 @@
#define INCL_OS2MM
#define INCL_WIN
#include <stdarg.h>
#include <os2.h>
#include <os2me.h>

View File

@ -9,8 +9,6 @@
#include "stdafx.h"
#include <stdarg.h>
#include "debug.h"
#include "fileio_func.h"
#include "engine_func.h"

View File

@ -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"

View File

@ -76,7 +76,6 @@
#include "linkgraph/linkgraphschedule.h"
#include <stdarg.h>
#include <system_error>
#include "safeguards.h"

View File

@ -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

View File

@ -17,8 +17,6 @@
#include "table/control_codes.h"
#include <stdarg.h>
#include <ctype.h> /* required for tolower() */
#include <sstream>
#include <iomanip>

View File

@ -24,7 +24,6 @@
#ifndef STRING_FUNC_H
#define STRING_FUNC_H
#include <stdarg.h>
#include <iosfwd>
#include "core/bitmath_func.hpp"

View File

@ -8,7 +8,6 @@
/** @file textbuf.cpp Textbuffer handling. */
#include "stdafx.h"
#include <stdarg.h>
#include "textbuf_type.h"
#include "string_func.h"

View File

@ -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"