summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/rules.c
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-03-30 01:39:00 +0000
committerkuriyama <kuriyama@FreeBSD.org>2004-03-30 01:39:00 +0000
commit235cde4aca9550787d8ee19043ccf8472f4843ff (patch)
tree895afcef15d437786d0e970b9e3f4f554dedf20d /lib/libdisk/rules.c
parent7957bc47f658a1655bbf5ca4d9c750aa8bfd4c9b (diff)
downloadFreeBSD-src-235cde4aca9550787d8ee19043ccf8472f4843ff.zip
FreeBSD-src-235cde4aca9550787d8ee19043ccf8472f4843ff.tar.gz
Make libdisk WARNS=4 clean.
Glanced by: jhb
Diffstat (limited to 'lib/libdisk/rules.c')
-rw-r--r--lib/libdisk/rules.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libdisk/rules.c b/lib/libdisk/rules.c
index 6c7f315..1f12f4c 100644
--- a/lib/libdisk/rules.c
+++ b/lib/libdisk/rules.c
@@ -103,7 +103,7 @@ Next_Cyl_Aligned(const struct disk *d, daddr_t offset)
* Only one of them can have the "active" flag
*/
static void
-Rule_000(const struct disk *d, const struct chunk *c, char *msg)
+Rule_000(__unused const struct disk *d, const struct chunk *c, char *msg)
{
#ifdef PC98
int i = 0;
@@ -180,7 +180,7 @@ Rule_001(const struct disk *d, const struct chunk *c, char *msg)
* Max one 'fat' as child of 'whole'
*/
static void
-Rule_002(const struct disk *d, const struct chunk *c, char *msg)
+Rule_002(__unused const struct disk *d, const struct chunk *c, char *msg)
{
int i;
struct chunk *c1;
@@ -203,7 +203,7 @@ Rule_002(const struct disk *d, const struct chunk *c, char *msg)
* Max one extended as child of 'whole'
*/
static void
-Rule_003(const struct disk *d, const struct chunk *c, char *msg)
+Rule_003(__unused const struct disk *d, const struct chunk *c, char *msg)
{
int i;
struct chunk *c1;
@@ -227,7 +227,7 @@ Rule_003(const struct disk *d, const struct chunk *c, char *msg)
* Max one CHUNK_IS_ROOT child per 'freebsd'
*/
static void
-Rule_004(const struct disk *d, const struct chunk *c, char *msg)
+Rule_004(__unused const struct disk *d, const struct chunk *c, char *msg)
{
int i = 0, k = 0;
struct chunk *c1;
OpenPOWER on IntegriCloud