summaryrefslogtreecommitdiffstats
path: root/usr.bin/look
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-09-15 11:02:10 +0000
committerjkh <jkh@FreeBSD.org>1997-09-15 11:02:10 +0000
commitec064bd1398692bb8dec84c3134dba783d445e9b (patch)
tree20edd9e97973b06640e0ece0f6f562cb674060f0 /usr.bin/look
parent77b0abb48bdcc7b00c7f399c11e1dd2cd7de9e2b (diff)
downloadFreeBSD-src-ec064bd1398692bb8dec84c3134dba783d445e9b.zip
FreeBSD-src-ec064bd1398692bb8dec84c3134dba783d445e9b.tar.gz
revert: The warning was supposed to irritate someone into fixing this.
Diffstat (limited to 'usr.bin/look')
-rw-r--r--usr.bin/look/look.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/look/look.c b/usr.bin/look/look.c
index 4a6cf4b..2f7101d 100644
--- a/usr.bin/look/look.c
+++ b/usr.bin/look/look.c
@@ -45,7 +45,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)look.c 8.2 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
- "$Id: look.c,v 1.7 1997/07/23 06:46:10 charnier Exp $";
+ "$Id: look.c,v 1.8 1997/09/15 08:31:20 jkh Exp $";
#endif /* not lint */
/*
@@ -105,8 +105,7 @@ main(argc, argv)
{
struct stat sb;
int ch, fd, termchar;
- unsigned char *back, *file, *string, *p;
- caddr_t front;
+ unsigned char *back, *file, *front, *string, *p;
(void) setlocale(LC_CTYPE, "");
OpenPOWER on IntegriCloud