aboutsummaryrefslogtreecommitdiffstats
path: root/tools/wrt350nv2-builder/src/ioapi.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-14 10:33:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-14 10:33:43 +0000
commit9785b126a5c09354f36fada6e80d81a4d079d047 (patch)
treeb8bd4875d16265b9826a5c678d9ca88d820f82c9 /tools/wrt350nv2-builder/src/ioapi.h
parent07f112a8e7f0dd8120d8d797a0a21e3d131add47 (diff)
downloadmaster-187ad058-9785b126a5c09354f36fada6e80d81a4d079d047.tar.gz
master-187ad058-9785b126a5c09354f36fada6e80d81a4d079d047.tar.bz2
master-187ad058-9785b126a5c09354f36fada6e80d81a4d079d047.zip
[tools] wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks with new zlib releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33181 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/wrt350nv2-builder/src/ioapi.h')
-rw-r--r--tools/wrt350nv2-builder/src/ioapi.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/wrt350nv2-builder/src/ioapi.h b/tools/wrt350nv2-builder/src/ioapi.h
index 7d457baab3..5fa9786148 100644
--- a/tools/wrt350nv2-builder/src/ioapi.h
+++ b/tools/wrt350nv2-builder/src/ioapi.h
@@ -35,13 +35,13 @@
extern "C" {
#endif
-typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode));
-typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
-typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
-typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream));
-typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin));
-typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream));
-typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream));
+typedef voidpf (ZCALLBACK *open_file_func) (voidpf opaque, const char* filename, int mode);
+typedef uLong (ZCALLBACK *read_file_func) (voidpf opaque, voidpf stream, void* buf, uLong size);
+typedef uLong (ZCALLBACK *write_file_func) (voidpf opaque, voidpf stream, const void* buf, uLong size);
+typedef long (ZCALLBACK *tell_file_func) (voidpf opaque, voidpf stream);
+typedef long (ZCALLBACK *seek_file_func) (voidpf opaque, voidpf stream, uLong offset, int origin);
+typedef int (ZCALLBACK *close_file_func) (voidpf opaque, voidpf stream);
+typedef int (ZCALLBACK *testerror_file_func) (voidpf opaque, voidpf stream);
typedef struct zlib_filefunc_def_s
{
@@ -57,7 +57,7 @@ typedef struct zlib_filefunc_def_s
-void fill_fopen_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
+void fill_fopen_filefunc (zlib_filefunc_def* pzlib_filefunc_def);
#define ZREAD(filefunc,filestream,buf,size) ((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size))
#define ZWRITE(filefunc,filestream,buf,size) ((*((filefunc).zwrite_file))((filefunc).opaque,filestream,buf,size))