From 1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 3 Jul 2002 18:38:05 +0000 Subject: compile with -W --- mdk-stage1/bzlib/bzlib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mdk-stage1/bzlib') diff --git a/mdk-stage1/bzlib/bzlib.c b/mdk-stage1/bzlib/bzlib.c index ebf6e269b..b1fc85236 100644 --- a/mdk-stage1/bzlib/bzlib.c +++ b/mdk-stage1/bzlib/bzlib.c @@ -121,14 +121,14 @@ int bz_config_ok ( void ) /*---------------------------------------------------*/ static -void* default_bzalloc ( void* opaque, Int32 items, Int32 size ) +void* default_bzalloc ( void* opaque __attribute__ ((unused)), Int32 items, Int32 size ) { void* v = malloc ( items * size ); return v; } static -void default_bzfree ( void* opaque, void* addr ) +void default_bzfree ( void* opaque __attribute__ ((unused)), void* addr ) { if (addr != NULL) free ( addr ); } @@ -1499,7 +1499,7 @@ int BZ_API(BZ2_bzwrite) (BZFILE* b, void* buf, int len ) /*---------------------------------------------------*/ -int BZ_API(BZ2_bzflush) (BZFILE *b) +int BZ_API(BZ2_bzflush) (BZFILE *b __attribute__ ((unused))) { /* do nothing now... */ return 0; -- cgit v1.2.1