summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-30 03:47:18 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-30 03:47:18 +0000
commitf29b1bc83edac7b0f153b98bb64ac79d29b633a0 (patch)
tree95fc02c911379d0d544bb9d99ebf1a8e1f844404 /src/char_sql
parent646305245c8bebe78169ceb93a62b058ed1edd89 (diff)
downloadhercules-f29b1bc83edac7b0f153b98bb64ac79d29b633a0.tar.gz
hercules-f29b1bc83edac7b0f153b98bb64ac79d29b633a0.tar.bz2
hercules-f29b1bc83edac7b0f153b98bb64ac79d29b633a0.tar.xz
hercules-f29b1bc83edac7b0f153b98bb64ac79d29b633a0.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@866 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/int_guild.c8
-rw-r--r--src/char_sql/int_party.c6
-rw-r--r--src/char_sql/int_pet.c6
-rw-r--r--src/char_sql/int_storage.c5
4 files changed, 13 insertions, 12 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index 258c173cf..3f9243bfe 100644
--- a/src/char_sql/int_guild.c
+++ b/src/char_sql/int_guild.c
@@ -4,6 +4,10 @@
//
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
+
#include "char.h"
#include "../common/strlib.h"
#include "int_storage.h"
@@ -15,10 +19,6 @@
#include "db.h"
#include "malloc.h"
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
-
static struct dbt *guild_db_;
static struct dbt *castle_db_;
static struct dbt *guild_expcache_db_;
diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c
index 05a607a15..af3ad7dc3 100644
--- a/src/char_sql/int_party.c
+++ b/src/char_sql/int_party.c
@@ -3,12 +3,12 @@
// SQL conversion by hack
//
-#include "char.h"
-#include "../common/strlib.h"
-#include "socket.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "char.h"
+#include "../common/strlib.h"
+#include "socket.h"
static struct party *party_pt;
static int party_newid=100;
diff --git a/src/char_sql/int_pet.c b/src/char_sql/int_pet.c
index edad95f84..44151c8e4 100644
--- a/src/char_sql/int_pet.c
+++ b/src/char_sql/int_pet.c
@@ -2,13 +2,13 @@
// original code from athena
// SQL conversion by Jioh L. Jung
//
-#include "char.h"
-#include "../common/strlib.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "char.h"
+#include "../common/strlib.h"
+
struct s_pet *pet_pt;
static int pet_newid = 100;
diff --git a/src/char_sql/int_storage.c b/src/char_sql/int_storage.c
index a6ad01eea..69eaf2469 100644
--- a/src/char_sql/int_storage.c
+++ b/src/char_sql/int_storage.c
@@ -2,11 +2,12 @@
// original code from athena
// SQL conversion by Jioh L. Jung
//
-#include "char.h"
-#include "itemdb.h"
#include <string.h>
#include <stdlib.h>
+#include "char.h"
+#include "itemdb.h"
+
#define STORAGE_MEMINC 16
// reset by inter_config_read()