summaryrefslogtreecommitdiff
path: root/src/login/login.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/login.h')
-rw-r--r--src/login/login.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/login.h b/src/login/login.h
index 9ae4734fe..7370f5238 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -13,7 +13,7 @@
#define START_ACCOUNT_NUM 2000000
#define END_ACCOUNT_NUM 100000000
-int login_port;
+extern int login_port;
struct mmo_account {
char* userid;
char passwd[33];
@@ -36,6 +36,6 @@ struct mmo_char_server {
int new;
};
-struct mmo_char_server server[MAX_SERVERS];
-int server_fd[MAX_SERVERS];
+extern struct mmo_char_server server[MAX_SERVERS];
+extern int server_fd[MAX_SERVERS];
#endif