Add -W and fix the warning due to missing struct initializer
This commit is contained in:
parent
ad21dff290
commit
1f2dedd83d
@ -1,8 +1,8 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $Id: Makefile,v 1.4 1997/02/22 14:01:32 peter Exp $
|
||||
# $Id: Makefile,v 1.5 1998/11/14 23:43:11 wosch Exp $
|
||||
|
||||
PROG= cp
|
||||
SRCS= cp.c utils.c
|
||||
CFLAGS+= -DVM_AND_BUFFER_CACHE_SYNCHRONIZED
|
||||
CFLAGS+= -W -DVM_AND_BUFFER_CACHE_SYNCHRONIZED
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -45,7 +45,7 @@ static char const copyright[] =
|
||||
static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id: cp.c,v 1.18 1999/04/25 21:13:32 imp Exp $";
|
||||
"$Id: cp.c,v 1.19 1999/05/08 10:19:27 kris Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -79,7 +79,7 @@ static const char rcsid[] =
|
||||
*--(p).p_end = 0; \
|
||||
}
|
||||
|
||||
PATH_T to = { to.p_path, "" };
|
||||
PATH_T to = { to.p_path, "", "" };
|
||||
|
||||
uid_t myuid;
|
||||
int Rflag, iflag, pflag, rflag, fflag;
|
||||
|
Loading…
Reference in New Issue
Block a user