mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-04 17:15:50 +00:00
unsigned char -> caddr_t for mmap's return value.
This commit is contained in:
parent
d56f6402d5
commit
0a214d26c9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29464
@ -45,7 +45,7 @@ static const char copyright[] =
|
|||||||
static char sccsid[] = "@(#)look.c 8.2 (Berkeley) 5/4/95";
|
static char sccsid[] = "@(#)look.c 8.2 (Berkeley) 5/4/95";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id$";
|
"$Id: look.c,v 1.7 1997/07/23 06:46:10 charnier Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -105,7 +105,8 @@ main(argc, argv)
|
|||||||
{
|
{
|
||||||
struct stat sb;
|
struct stat sb;
|
||||||
int ch, fd, termchar;
|
int ch, fd, termchar;
|
||||||
unsigned char *back, *file, *front, *string, *p;
|
unsigned char *back, *file, *string, *p;
|
||||||
|
caddr_t front;
|
||||||
|
|
||||||
(void) setlocale(LC_CTYPE, "");
|
(void) setlocale(LC_CTYPE, "");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user