Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/hpc Constify.



details:   https://anonhg.NetBSD.org/src/rev/be77408a3345
branches:  trunk
changeset: 581590:be77408a3345
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Jun 02 21:36:25 2005 +0000

description:
Constify.

diffstat:

 sys/dev/hpc/bicons.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 9cbeefa98147 -r be77408a3345 sys/dev/hpc/bicons.c
--- a/sys/dev/hpc/bicons.c      Thu Jun 02 21:33:08 2005 +0000
+++ b/sys/dev/hpc/bicons.c      Thu Jun 02 21:36:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bicons.c,v 1.8 2005/02/27 00:26:59 perry Exp $ */
+/*     $NetBSD: bicons.c,v 1.9 2005/06/02 21:36:25 uwe Exp $   */
 
 /*-
  * Copyright (c) 1999-2001
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bicons.c,v 1.8 2005/02/27 00:26:59 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bicons.c,v 1.9 2005/06/02 21:36:25 uwe Exp $");
 
 #define HALF_FONT
 
@@ -71,7 +71,7 @@
 
 static const struct {
        int type;
-       char *name;
+       const char *name;
        void (*func)(u_int8_t *, u_int8_t, u_int8_t);
        u_int8_t clear_byte;
        int16_t oxel_bytes;
@@ -130,7 +130,7 @@
 static void draw_char(int, int, int);
 static void clear(int, int);
 static void scroll(int, int, int);
-static void bicons_puts(char *);
+static void bicons_puts(const char *);
 static void bicons_printf(const char *, ...) __attribute__((__unused__));
 
 int
@@ -255,7 +255,7 @@
 }
 
 void
-bicons_puts(char *s)
+bicons_puts(const char *s)
 {
        while (*s)
                biconscnputc(0, *s++);



Home | Main Index | Thread Index | Old Index