Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 398617 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/unzip/ioapi.h (+10 lines)
Lines 35-40 Link Here
35
extern "C" {
35
extern "C" {
36
#endif
36
#endif
37
37
38
/* Work-around for NetBSD. Its zconf.h doesn't define OF(x) */
39
#ifndef OF
40
#ifdef __STDC__
41
#define OF(x) x
42
#else
43
#define OF(x) ()
44
#endif
45
#endif
46
47
38
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode));
48
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode));
39
typedef uLong  (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
49
typedef uLong  (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
40
typedef uLong  (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
50
typedef uLong  (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));

Return to bug 398617