Fix some compile time errors

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@383 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
amber 2004-11-27 19:03:43 +00:00
parent 3fdf31846f
commit 3857101b07
4 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Date Added
11/27
* Fixed some compile time errors associated with showmsg [MouseJstr]
* Added get_svn_revision() in core.c [MC Cameri]
-Only if you have the file .svn\entries, it will show the revision # at runtime.

View File

@ -3,7 +3,7 @@
#include <string.h>
#include "showmsg.h"
char tmp_output[1024] = "\0";
char tmp_output[1024] = {"\0"};
int _ShowMessage(const char *string, enum msg_type flag){ // by MC Cameri
/*

View File

@ -1,7 +1,7 @@
all: char-converter
sql: char-converter
COMMON_OBJ = ../../common/core.o ../../common/socket.o ../../common/timer.o ../../common/db.o ../../common/malloc.o
COMMON_OBJ = ../../common/core.o ../../common/socket.o ../../common/timer.o ../../common/db.o ../../common/malloc.o ../../common/showmsg.o
char-converter: char-converter.o strlib.o $(COMMON_OBJ)
$(CC) -o ../../../$@ $^ $(LIB_S)

View File

@ -1,7 +1,7 @@
all: login-converter
sql: login-converter
COMMON_OBJ = ../../common/core.o ../../common/socket.o ../../common/timer.o ../../common/db.o ../../common/malloc.o
COMMON_OBJ = ../../common/core.o ../../common/socket.o ../../common/timer.o ../../common/db.o ../../common/malloc.o ../../common/showmsg.o
COMMON_H = ../../common/core.h ../../common/socket.h ../../common/timer.h ../../common/mmo.h ../../common/version.h ../../common/db.h ../../common/malloc.h
login-converter: login-converter.o ../../login_sql/md5calc.o ../../login_sql/strlib.o $(COMMON_OBJ)