diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-07 19:34:54 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-07 19:34:54 +0000 |
commit | 37a7546e284e9f330b137178d6c4646842bde97f (patch) | |
tree | 80411355ed9c54266a8cd0c43d67ad8edda579f3 /src/char_sql | |
parent | 15d86669fb2fcedefa83d76cfe8b4bf3f110d481 (diff) | |
download | hercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.gz hercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.bz2 hercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.xz hercules-37a7546e284e9f330b137178d6c4646842bde97f.zip |
Cleaning up of the socket code
- Shuffled includes around for files that were leeching off of socket.h
- Added code that enforces standard shutdown behavior for sockets
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9817 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/int_homun.c | 1 | ||||
-rw-r--r-- | src/char_sql/int_party.c | 1 | ||||
-rw-r--r-- | src/char_sql/int_pet.c | 1 | ||||
-rw-r--r-- | src/char_sql/int_storage.c | 2 | ||||
-rw-r--r-- | src/char_sql/inter.c | 2 | ||||
-rw-r--r-- | src/char_sql/itemdb.c | 1 |
6 files changed, 8 insertions, 0 deletions
diff --git a/src/char_sql/int_homun.c b/src/char_sql/int_homun.c index 6fce092ac..22edad8d0 100644 --- a/src/char_sql/int_homun.c +++ b/src/char_sql/int_homun.c @@ -6,6 +6,7 @@ #include <string.h> #include "char.h" +#include "../common/malloc.h" #include "../common/strlib.h" #include "../common/showmsg.h" diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c index 8553862fe..72e98f323 100644 --- a/src/char_sql/int_party.c +++ b/src/char_sql/int_party.c @@ -10,6 +10,7 @@ #include "../common/cbasetypes.h" #include "../common/db.h" +#include "../common/malloc.h" #include "../common/strlib.h" #include "../common/socket.h" #include "../common/showmsg.h" diff --git a/src/char_sql/int_pet.c b/src/char_sql/int_pet.c index 1b87de654..099b02aaa 100644 --- a/src/char_sql/int_pet.c +++ b/src/char_sql/int_pet.c @@ -9,6 +9,7 @@ #include <string.h> #include "char.h" +#include "../common/malloc.h" #include "../common/strlib.h" #include "../common/showmsg.h" diff --git a/src/char_sql/int_storage.c b/src/char_sql/int_storage.c index 5ca2c25bb..72b56e5ef 100644 --- a/src/char_sql/int_storage.c +++ b/src/char_sql/int_storage.c @@ -4,11 +4,13 @@ // original code from athena // SQL conversion by Jioh L. Jung +#include <stdio.h> #include <string.h> #include <stdlib.h> #include "char.h" #include "itemdb.h" +#include "../common/malloc.h" #include "../common/showmsg.h" #define STORAGE_MEMINC 16 diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c index 03ab85773..326bd2ca1 100644 --- a/src/char_sql/inter.c +++ b/src/char_sql/inter.c @@ -4,10 +4,12 @@ // original code from athena // SQL conversion by Jioh L. Jung +#include <stdio.h> #include <string.h> #include <stdlib.h> #include "char.h" +#include "../common/malloc.h" #include "../common/strlib.h" #include "../common/showmsg.h" #include "inter.h" diff --git a/src/char_sql/itemdb.c b/src/char_sql/itemdb.c index 3943c082d..5feea2492 100644 --- a/src/char_sql/itemdb.c +++ b/src/char_sql/itemdb.c @@ -10,6 +10,7 @@ #include "inter.h" #include "char.h" #include "utils.h" +#include "../common/malloc.h" #include "../common/showmsg.h" #define MAX_RANDITEM 2000 |