diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-04-19 00:15:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-04-19 00:15:29 +0000 |
commit | e363bdd8e637ece6d8aebbad009f0e7eda0ac212 (patch) | |
tree | f74871099e70137b1404192bb058116133766b73 /sbin/raidctl | |
parent | 1d6bf71b5a7ec2d601440b0302ad45fdf9103b76 (diff) |
Do not depend upon <ansidecl.h> to compile.
Conforming to espie's evil plans, and ok espie@ tdeval@
Diffstat (limited to 'sbin/raidctl')
-rw-r--r-- | sbin/raidctl/rf_configure.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/raidctl/rf_configure.c b/sbin/raidctl/rf_configure.c index ae56daa7195..3bffc2eef4f 100644 --- a/sbin/raidctl/rf_configure.c +++ b/sbin/raidctl/rf_configure.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_configure.c,v 1.6 2002/03/29 14:26:59 tdeval Exp $ */ +/* $OpenBSD: rf_configure.c,v 1.7 2002/04/19 00:15:28 miod Exp $ */ /* $NetBSD: rf_configure.c,v 1.14 2001/02/04 21:05:42 christos Exp $ */ /* @@ -50,7 +50,6 @@ #include <stdio.h> #include <stdlib.h> -#include <ansidecl.h> #include <errno.h> #include <strings.h> #include <sys/types.h> @@ -61,6 +60,13 @@ #include "rf_decluster.h" #include "rf_configure.h" +/* so much for #include <ansidecl.h> */ +#ifdef __GNUCC__ +#define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) +#else +#define ATTRIBUTE_UNUSED +#endif + /* * XXX we include this here so we don't need to drag rf_debugMem.c into * the picture... This is userland, afterall... |