Warns cleanups. Add FreeBSD ID.

This commit is contained in:
David Malone 2001-12-03 21:22:56 +00:00
parent 586ffa2e8a
commit b139689c6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87296
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= script
WARNS?= 2
LDADD= -lutil
DPADD= ${LIBUTIL}

View File

@ -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)