diff options
| author | bjh21 <bjh21@NetBSD.org> | 2001-08-10 19:12:35 +0000 |
|---|---|---|
| committer | bjh21 <bjh21@NetBSD.org> | 2001-08-10 19:12:35 +0000 |
| commit | 976681bfed7cf2a06edd8059bf1c1916d4b605d6 (patch) | |
| tree | b45c81f56067ed58cd0a47ec2650849901c47c62 | |
| parent | dfc4520de8579354f3cbba1ada7937ad71cec75d (diff) | |
Adjust #ifdefs so RASOPS_SMALL doesn't give "defined but not used" warnings.
| -rw-r--r-- | sys/dev/rasops/rasops2.c | 6 | ||||
| -rw-r--r-- | sys/dev/rasops/rasops4.c | 6 | ||||
| -rw-r--r-- | 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 5a9bfe9226f..54c4a1e9d7d 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 <sys/cdefs.h> -__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 <sys/types.h> #include <sys/param.h> @@ -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 b16e32df2c8..825319223db 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 <sys/cdefs.h> -__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 <sys/types.h> #include <sys/param.h> @@ -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 37b5900c219..b8cd00a8c44 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 <sys/cdefs.h> -__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 <sys/types.h> #include <sys/param.h> @@ -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 |
