Removed extra guards around cbasetypes.h include lines, since they give no performance improvement.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14876 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
8a123381c6
commit
fa5015a913
@ -40,9 +40,7 @@
|
||||
#ifndef _ERS_H_
|
||||
#define _ERS_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
|
||||
/*****************************************************************************\
|
||||
* (1) All public parts of the Entry Reusage System. *
|
||||
|
@ -4,9 +4,7 @@
|
||||
#ifndef _PLUGIN_H_
|
||||
#define _PLUGIN_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
|
||||
////// Plugin functions ///////////////
|
||||
|
||||
|
@ -4,10 +4,7 @@
|
||||
#ifndef _PLUGINS_H_
|
||||
#define _PLUGINS_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
|
||||
#include "../common/plugin.h"
|
||||
|
||||
////// Dynamic Link Library functions ///////////////
|
||||
|
@ -4,9 +4,7 @@
|
||||
#ifndef _RANDOM_H_
|
||||
#define _RANDOM_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
|
||||
void rnd_init(void);
|
||||
void rnd_seed(uint32);
|
||||
|
@ -4,9 +4,7 @@
|
||||
#ifndef _SOCKET_H_
|
||||
#define _SOCKET_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#define WIN32_LEAN_AND_MEAN // otherwise winsock2.h includes full windows.h
|
||||
|
@ -4,9 +4,7 @@
|
||||
#ifndef _COMMON_SQL_H_
|
||||
#define _COMMON_SQL_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
#include <stdarg.h>// va_list
|
||||
|
||||
|
||||
|
@ -4,9 +4,7 @@
|
||||
#ifndef _STRLIB_H_
|
||||
#define _STRLIB_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
|
||||
#define __USE_GNU // required to enable strnlen on some platforms
|
||||
|
@ -4,9 +4,7 @@
|
||||
#ifndef _TIMER_H_
|
||||
#define _TIMER_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
|
||||
#define DIFF_TICK(a,b) ((int)((a)-(b)))
|
||||
|
||||
|
@ -4,10 +4,7 @@
|
||||
#ifndef _UTILS_H_
|
||||
#define _UTILS_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h> // FILE*
|
||||
|
||||
// generate a hex dump of the first 'length' bytes of 'buffer'
|
||||
|
@ -4,9 +4,7 @@
|
||||
#ifndef _MAP_H_
|
||||
#define _MAP_H_
|
||||
|
||||
#ifndef _CBASETYPES_H_
|
||||
#include "../common/cbasetypes.h"
|
||||
#endif
|
||||
#include "../common/core.h" // CORE_ST_LAST
|
||||
#include "../common/mmo.h"
|
||||
#include "../common/mapindex.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user