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:
ultramage 2011-06-30 15:27:36 +00:00
parent 8a123381c6
commit fa5015a913
10 changed files with 0 additions and 22 deletions

View File

@ -40,9 +40,7 @@
#ifndef _ERS_H_ #ifndef _ERS_H_
#define _ERS_H_ #define _ERS_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
/*****************************************************************************\ /*****************************************************************************\
* (1) All public parts of the Entry Reusage System. * * (1) All public parts of the Entry Reusage System. *

View File

@ -4,9 +4,7 @@
#ifndef _PLUGIN_H_ #ifndef _PLUGIN_H_
#define _PLUGIN_H_ #define _PLUGIN_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
////// Plugin functions /////////////// ////// Plugin functions ///////////////

View File

@ -4,10 +4,7 @@
#ifndef _PLUGINS_H_ #ifndef _PLUGINS_H_
#define _PLUGINS_H_ #define _PLUGINS_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
#include "../common/plugin.h" #include "../common/plugin.h"
////// Dynamic Link Library functions /////////////// ////// Dynamic Link Library functions ///////////////

View File

@ -4,9 +4,7 @@
#ifndef _RANDOM_H_ #ifndef _RANDOM_H_
#define _RANDOM_H_ #define _RANDOM_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
void rnd_init(void); void rnd_init(void);
void rnd_seed(uint32); void rnd_seed(uint32);

View File

@ -4,9 +4,7 @@
#ifndef _SOCKET_H_ #ifndef _SOCKET_H_
#define _SOCKET_H_ #define _SOCKET_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
#ifdef WIN32 #ifdef WIN32
#define WIN32_LEAN_AND_MEAN // otherwise winsock2.h includes full windows.h #define WIN32_LEAN_AND_MEAN // otherwise winsock2.h includes full windows.h

View File

@ -4,9 +4,7 @@
#ifndef _COMMON_SQL_H_ #ifndef _COMMON_SQL_H_
#define _COMMON_SQL_H_ #define _COMMON_SQL_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
#include <stdarg.h>// va_list #include <stdarg.h>// va_list

View File

@ -4,9 +4,7 @@
#ifndef _STRLIB_H_ #ifndef _STRLIB_H_
#define _STRLIB_H_ #define _STRLIB_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
#include <stdarg.h> #include <stdarg.h>
#define __USE_GNU // required to enable strnlen on some platforms #define __USE_GNU // required to enable strnlen on some platforms

View File

@ -4,9 +4,7 @@
#ifndef _TIMER_H_ #ifndef _TIMER_H_
#define _TIMER_H_ #define _TIMER_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
#define DIFF_TICK(a,b) ((int)((a)-(b))) #define DIFF_TICK(a,b) ((int)((a)-(b)))

View File

@ -4,10 +4,7 @@
#ifndef _UTILS_H_ #ifndef _UTILS_H_
#define _UTILS_H_ #define _UTILS_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
#include <stdio.h> // FILE* #include <stdio.h> // FILE*
// generate a hex dump of the first 'length' bytes of 'buffer' // generate a hex dump of the first 'length' bytes of 'buffer'

View File

@ -4,9 +4,7 @@
#ifndef _MAP_H_ #ifndef _MAP_H_
#define _MAP_H_ #define _MAP_H_
#ifndef _CBASETYPES_H_
#include "../common/cbasetypes.h" #include "../common/cbasetypes.h"
#endif
#include "../common/core.h" // CORE_ST_LAST #include "../common/core.h" // CORE_ST_LAST
#include "../common/mmo.h" #include "../common/mmo.h"
#include "../common/mapindex.h" #include "../common/mapindex.h"