diff options
author | Haru <haru@dotalux.com> | 2016-02-19 21:37:39 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-03-20 18:32:07 +0100 |
commit | f4fced20c769ccee7f808531221dda481f7bbcca (patch) | |
tree | 4bbdd3509a3d6f682e89279f8df2abb1e259a198 /src/map/script.c | |
parent | 8c9e9668cef87ab9595bde6608de424072cc752d (diff) | |
download | hercules-f4fced20c769ccee7f808531221dda481f7bbcca.tar.gz hercules-f4fced20c769ccee7f808531221dda481f7bbcca.tar.bz2 hercules-f4fced20c769ccee7f808531221dda481f7bbcca.tar.xz hercules-f4fced20c769ccee7f808531221dda481f7bbcca.zip |
Removed unnecessary typedefs from sql.h
- Sql -> struct Sql
- SqlStmt -> struct SqlStmt
- SqlDataType -> enum SqlDataType
This is expected to improve compile time, by removing #include cycles (and forward declaring instead)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 3482165f8..aeff221d4 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -63,6 +63,7 @@ #include "common/random.h" #include "common/showmsg.h" #include "common/socket.h" // usage: getcharip +#include "common/sql.h" #include "common/strlib.h" #include "common/sysinfo.h" #include "common/timer.h" @@ -15932,7 +15933,7 @@ BUILDIN(setd) return true; } -int buildin_query_sql_sub(struct script_state* st, Sql* handle) +int buildin_query_sql_sub(struct script_state *st, struct Sql *handle) { int i, j; struct map_session_data *sd = NULL; |