mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-24 19:21:38 +01:00
Warns cleanups. Add FreeBSD ID.
This commit is contained in:
parent
586ffa2e8a
commit
b139689c6b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87296
@ -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