From 976681bfed7cf2a06edd8059bf1c1916d4b605d6 Mon Sep 17 00:00:00 2001 From: bjh21 Date: Fri, 10 Aug 2001 19:12:35 +0000 Subject: [PATCH] Adjust #ifdefs so RASOPS_SMALL doesn't give "defined but not used" warnings. --- sys/dev/rasops/rasops2.c | 6 +++--- sys/dev/rasops/rasops4.c | 6 +++--- sys/dev/rasops/rasops8.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/dev/rasops/rasops2.c b/sys/dev/rasops/rasops2.c index 5a9bfe9226f2..54c4a1e9d7db 100644 --- a/sys/dev/rasops/rasops2.c +++ b/sys/dev/rasops/rasops2.c @@ -1,4 +1,4 @@ -/* $NetBSD: rasops2.c,v 1.6 2000/06/13 13:36:57 ad Exp $ */ +/* $NetBSD: rasops2.c,v 1.7 2001/08/10 19:12:35 bjh21 Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include "opt_rasops.h" #include -__KERNEL_RCSID(0, "$NetBSD: rasops2.c,v 1.6 2000/06/13 13:36:57 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rasops2.c,v 1.7 2001/08/10 19:12:35 bjh21 Exp $"); #include #include @@ -60,7 +60,6 @@ static void rasops2_putchar8 __P((void *, int, int col, u_int, long)); static void rasops2_putchar12 __P((void *, int, int col, u_int, long)); static void rasops2_putchar16 __P((void *, int, int col, u_int, long)); static void rasops2_makestamp __P((struct rasops_info *, long)); -#endif /* * 4x1 stamp for optimized character blitting @@ -68,6 +67,7 @@ static void rasops2_makestamp __P((struct rasops_info *, long)); static int8_t stamp[16]; static long stamp_attr; static int stamp_mutex; /* XXX see note in README */ +#endif /* * Initialize rasops_info struct for this colordepth. diff --git a/sys/dev/rasops/rasops4.c b/sys/dev/rasops/rasops4.c index b16e32df2c86..825319223dbd 100644 --- a/sys/dev/rasops/rasops4.c +++ b/sys/dev/rasops/rasops4.c @@ -1,4 +1,4 @@ -/* $NetBSD: rasops4.c,v 1.1 2001/01/21 13:50:59 takemura Exp $ */ +/* $NetBSD: rasops4.c,v 1.2 2001/08/10 19:12:35 bjh21 Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include "opt_rasops.h" #include -__KERNEL_RCSID(0, "$NetBSD: rasops4.c,v 1.1 2001/01/21 13:50:59 takemura Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rasops4.c,v 1.2 2001/08/10 19:12:35 bjh21 Exp $"); #include #include @@ -60,7 +60,6 @@ static void rasops4_putchar8 __P((void *, int, int col, u_int, long)); static void rasops4_putchar12 __P((void *, int, int col, u_int, long)); static void rasops4_putchar16 __P((void *, int, int col, u_int, long)); static void rasops4_makestamp __P((struct rasops_info *, long)); -#endif /* * 4x1 stamp for optimized character blitting @@ -68,6 +67,7 @@ static void rasops4_makestamp __P((struct rasops_info *, long)); static u_int16_t stamp[16]; static long stamp_attr; static int stamp_mutex; /* XXX see note in README */ +#endif /* * Initialize rasops_info struct for this colordepth. diff --git a/sys/dev/rasops/rasops8.c b/sys/dev/rasops/rasops8.c index 37b5900c2192..b8cd00a8c447 100644 --- a/sys/dev/rasops/rasops8.c +++ b/sys/dev/rasops/rasops8.c @@ -1,4 +1,4 @@ -/* $NetBSD: rasops8.c,v 1.9 2000/06/13 13:36:59 ad Exp $ */ +/* $NetBSD: rasops8.c,v 1.10 2001/08/10 19:12:36 bjh21 Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include "opt_rasops.h" #include -__KERNEL_RCSID(0, "$NetBSD: rasops8.c,v 1.9 2000/06/13 13:36:59 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rasops8.c,v 1.10 2001/08/10 19:12:36 bjh21 Exp $"); #include #include @@ -55,7 +55,6 @@ static void rasops8_putchar8 __P((void *, int, int, u_int, long attr)); static void rasops8_putchar12 __P((void *, int, int, u_int, long attr)); static void rasops8_putchar16 __P((void *, int, int, u_int, long attr)); static void rasops8_makestamp __P((struct rasops_info *ri, long)); -#endif /* * 4x1 stamp for optimized character blitting @@ -63,6 +62,7 @@ static void rasops8_makestamp __P((struct rasops_info *ri, long)); static int32_t stamp[16]; static long stamp_attr; static int stamp_mutex; /* XXX see note in README */ +#endif /* * XXX this confuses the hell out of gcc2 (not egcs) which always insists