From 9acb3e5e713d1ab6b2312aa4cdc7946f85f875d0 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 21 Oct 2008 18:05:06 +0000 Subject: continued on ban support. cleaned up settings a bit. reworked the datadir autodetection. introduced engine_openfile, engine_getpath and engine_listdir. never use fs_listdir or io_open directly --- src/base/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base/system.h') diff --git a/src/base/system.h b/src/base/system.h index 9271be5a..b220810e 100644 --- a/src/base/system.h +++ b/src/base/system.h @@ -799,8 +799,8 @@ void str_hex(char *dst, int dst_size, const void *data, int data_size); Returns: Always returns 0. */ -typedef void (*fs_listdir_callback)(const char *name, int is_dir, void *user); -int fs_listdir(const char *dir, fs_listdir_callback cb, void *user); +typedef void (*FS_LISTDIR_CALLBACK)(const char *name, int is_dir, void *user); +int fs_listdir(const char *dir, FS_LISTDIR_CALLBACK cb, void *user); /* Function: fs_makedir -- cgit 1.4.1