Adjust #ifdefs so RASOPS_SMALL doesn't give "defined but not used" warnings.
This commit is contained in:
parent
dfc4520de8
commit
976681bfed
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue