summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/bzlib/bzlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/bzlib/bzlib.c')
-rw-r--r--mdk-stage1/bzlib/bzlib.c6
1 files changed, 3 insertions, 3 deletions
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;