summaryrefslogtreecommitdiff
path: root/usr.bin/look
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-09-15 11:02:10 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-09-15 11:02:10 +0000
commitd03802742b8901d812e0dc8b1a1980a52df5a5ad (patch)
treee2a24d7fdb07825458e28c5db6173d02c04b9546 /usr.bin/look
parent65de42dc08e8b69116133b66f12a6e8686e276a8 (diff)
downloadsrc-test-d03802742b8901d812e0dc8b1a1980a52df5a5ad.tar.gz
src-test-d03802742b8901d812e0dc8b1a1980a52df5a5ad.zip
revert: The warning was supposed to irritate someone into fixing this.
Notes
Notes: svn path=/head/; revision=29472
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 4a6cf4bf256a7..2f7101d12d603 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, "");