Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/gio Make the output proper constified.



details:   https://anonhg.NetBSD.org/src/rev/a09d550e479e
branches:  trunk
changeset: 581681:a09d550e479e
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jun 03 19:03:46 2005 +0000

description:
Make the output proper constified.

diffstat:

 sys/arch/sgimips/gio/devlist2h.awk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d2ed6467b2f2 -r a09d550e479e sys/arch/sgimips/gio/devlist2h.awk
--- a/sys/arch/sgimips/gio/devlist2h.awk        Fri Jun 03 19:02:33 2005 +0000
+++ b/sys/arch/sgimips/gio/devlist2h.awk        Fri Jun 03 19:03:46 2005 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/awk -f
-#      $NetBSD: devlist2h.awk,v 1.2 2004/01/11 01:48:46 sekiya Exp $
+#      $NetBSD: devlist2h.awk,v 1.3 2005/06/03 19:03:46 martin Exp $
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -136,7 +136,7 @@
 
        printf("struct gio_knowndev {\n") > dfile
        printf("\tint productid;\n") > dfile
-       printf("\tchar *product;\n") > dfile
+       printf("\tconst char *product;\n") > dfile
        printf("};\n") > dfile
        printf("\nstruct gio_knowndev gio_knowndevs[] = {\n") > dfile
 



Home | Main Index | Thread Index | Old Index