Warns cleanups. Add FreeBSD ID.
This commit is contained in:
parent
586ffa2e8a
commit
b139689c6b
@ -1,6 +1,8 @@
|
||||
# $FreeBSD$
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
|
||||
PROG= script
|
||||
WARNS?= 2
|
||||
LDADD= -lutil
|
||||
DPADD= ${LIBUTIL}
|
||||
|
||||
|
@ -66,7 +66,7 @@ static const char rcsid[] =
|
||||
FILE *fscript;
|
||||
int master, slave;
|
||||
int child;
|
||||
char *fname;
|
||||
const char *fname;
|
||||
int qflg;
|
||||
|
||||
struct termios tt;
|
||||
@ -232,7 +232,7 @@ void
|
||||
doshell(av)
|
||||
char **av;
|
||||
{
|
||||
char *shell;
|
||||
const char *shell;
|
||||
|
||||
shell = getenv("SHELL");
|
||||
if (shell == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user