Module Name:    src
Committed By:   lukem
Date:           Mon Apr 13 23:45:50 UTC 2009

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

Log Message:
Fix -Wcast-qual issues


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/tee/tee.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/tee/tee.c
diff -u src/usr.bin/tee/tee.c:1.8 src/usr.bin/tee/tee.c:1.9
--- src/usr.bin/tee/tee.c:1.8	Mon Jul 21 14:19:26 2008
+++ src/usr.bin/tee/tee.c	Mon Apr 13 23:45:50 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: tee.c,v 1.8 2008/07/21 14:19:26 lukem Exp $	*/
+/*	$NetBSD: tee.c,v 1.9 2009/04/13 23:45:50 lukem Exp $	*/
 
 /*
  * Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)tee.c	8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: tee.c,v 1.8 2008/07/21 14:19:26 lukem Exp $");
+__RCSID("$NetBSD: tee.c,v 1.9 2009/04/13 23:45:50 lukem Exp $");
 #endif
 
 #include <sys/types.h>
@@ -57,11 +57,11 @@
 typedef struct _list {
 	struct _list *next;
 	int fd;
-	char *name;
+	const char *name;
 } LIST;
 LIST *head;
 
-void	add __P((int, char *));
+void	add __P((int, const char *));
 int	main __P((int, char **));
 
 int
@@ -139,7 +139,7 @@
 void
 add(fd, name)
 	int fd;
-	char *name;
+	const char *name;
 {
 	LIST *p;
 

Reply via email to