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/mapreg_sql.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/mapreg_sql.c')
-rw-r--r-- | src/map/mapreg_sql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mapreg_sql.c b/src/map/mapreg_sql.c index 46962ac14..f3ab36950 100644 --- a/src/map/mapreg_sql.c +++ b/src/map/mapreg_sql.c @@ -190,7 +190,7 @@ void script_load_mapreg(void) { | varname | index | value | +-------------------------+ */ - SqlStmt* stmt = SQL->StmtMalloc(map->mysql_handle); + struct SqlStmt *stmt = SQL->StmtMalloc(map->mysql_handle); char varname[SCRIPT_VARNAME_LENGTH+1]; int index; char value[255+1]; |