Module Name:    src
Committed By:   martin
Date:           Fri Oct 25 20:55:24 UTC 2013

Modified Files:
        src/sys/dev/wscons: wscons_rinit.c

Log Message:
Consistently ifdef a variable and all uses


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/wscons/wscons_rinit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/wscons/wscons_rinit.c
diff -u src/sys/dev/wscons/wscons_rinit.c:1.6 src/sys/dev/wscons/wscons_rinit.c:1.7
--- src/sys/dev/wscons/wscons_rinit.c:1.6	Sun Dec 11 12:24:12 2005
+++ src/sys/dev/wscons/wscons_rinit.c	Fri Oct 25 20:55:24 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: wscons_rinit.c,v 1.6 2005/12/11 12:24:12 christos Exp $ */
+/* $NetBSD: wscons_rinit.c,v 1.7 2013/10/25 20:55:24 martin Exp $ */
 
 /*
  * Copyright (c) 1991, 1993
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wscons_rinit.c,v 1.6 2005/12/11 12:24:12 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wscons_rinit.c,v 1.7 2013/10/25 20:55:24 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -57,7 +57,9 @@ void	rcons_initfont(struct rcons *, stru
 void
 rcons_initfont(struct rcons *rc, struct raster_font *fp)
 {
+#if !defined(MSBYTE_FIRST) && !defined(MSBIT_FIRST) /* XXX other cases */
 	static int initfontdone;
+#endif
 
 	rc->rc_font = fp;
 
@@ -87,9 +89,9 @@ rcons_initfont(struct rcons *rc, struct 
 			}
 		}
 	}
-#endif
 
 	initfontdone = 1;
+#endif
 }
 
 void

Reply via email to