Fix -Wcast-qual issue
This commit is contained in:
parent
c2293a6fbf
commit
2b7977aec7
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tcopy.c,v 1.15 2008/07/21 14:19:26 lukem Exp $ */
|
||||
/* $NetBSD: tcopy.c,v 1.16 2009/04/13 23:44:49 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1985, 1987, 1993, 1995
|
||||
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1985, 1987, 1993\
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)tcopy.c 8.3 (Berkeley) 1/23/95";
|
||||
#endif
|
||||
__RCSID("$NetBSD: tcopy.c,v 1.15 2008/07/21 14:19:26 lukem Exp $");
|
||||
__RCSID("$NetBSD: tcopy.c,v 1.16 2009/04/13 23:44:49 lukem Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -82,7 +82,8 @@ main(argc, argv)
|
||||
ssize_t lastnread, nread;
|
||||
enum {READ, VERIFY, COPY, COPYVERIFY} op = READ;
|
||||
sig_t oldsig;
|
||||
char *buff, *inf;
|
||||
char *buff;
|
||||
const char *inf;
|
||||
|
||||
outp = 0;
|
||||
inf = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user