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://svn.code.sf.net/p/rathena/svn/trunk@9817 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage
2007-02-07 19:34:54 +00:00
parent 6597b8c74b
commit 148f3fca88
19 changed files with 66 additions and 67 deletions

View File

@@ -6,6 +6,7 @@
#include <string.h>
#include "char.h"
#include "../common/malloc.h"
#include "../common/strlib.h"
#include "../common/showmsg.h"

View File

@@ -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"

View File

@@ -9,6 +9,7 @@
#include <string.h>
#include "char.h"
#include "../common/malloc.h"
#include "../common/strlib.h"
#include "../common/showmsg.h"

View File

@@ -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

View File

@@ -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"

View File

@@ -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