Module Name:    src
Committed By:   lukem
Date:           Tue Apr 14 05:46:25 UTC 2009

Modified Files:
        src/usr.bin/ul: ul.c

Log Message:
Fix -Wcast-qual issues


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/ul/ul.c

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

Modified files:

Index: src/usr.bin/ul/ul.c
diff -u src/usr.bin/ul/ul.c:1.13 src/usr.bin/ul/ul.c:1.14
--- src/usr.bin/ul/ul.c:1.13	Mon Jul 21 14:19:27 2008
+++ src/usr.bin/ul/ul.c	Tue Apr 14 05:46:25 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ul.c,v 1.13 2008/07/21 14:19:27 lukem Exp $	*/
+/*	$NetBSD: ul.c,v 1.14 2009/04/14 05:46:25 lukem Exp $	*/
 
 /*
  * Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)ul.c	8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: ul.c,v 1.13 2008/07/21 14:19:27 lukem Exp $");
+__RCSID("$NetBSD: ul.c,v 1.14 2009/04/14 05:46:25 lukem Exp $");
 #endif /* not lint */
 
 #include <stdio.h>
@@ -65,7 +65,7 @@
 
 struct tinfo *info;
 int	must_use_uc, must_overstrike;
-char	*CURS_UP, *CURS_RIGHT, *CURS_LEFT,
+const char *CURS_UP, *CURS_RIGHT, *CURS_LEFT,
 	*ENTER_STANDOUT, *EXIT_STANDOUT, *ENTER_UNDERLINE, *EXIT_UNDERLINE,
 	*ENTER_DIM, *ENTER_BOLD, *ENTER_REVERSE, *UNDER_CHAR, *EXIT_ATTRIBUTES;
 
@@ -103,7 +103,7 @@
 	char **argv;
 {
 	int c;
-	char *termtype;
+	const char *termtype;
 	FILE *f;
 
 	termtype = getenv("TERM");

Reply via email to