c99 initializers

This commit is contained in:
christos 2006-10-15 23:55:30 +00:00
parent 9052088997
commit 640b35e022

View File

@ -1,4 +1,4 @@
/* $NetBSD: cp.c,v 1.46 2006/08/15 23:03:51 jschauma Exp $ */
/* $NetBSD: cp.c,v 1.47 2006/10/15 23:55:30 christos Exp $ */
/*
* Copyright (c) 1988, 1993, 1994
@ -43,7 +43,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)cp.c 8.5 (Berkeley) 4/29/95";
#else
__RCSID("$NetBSD: cp.c,v 1.46 2006/08/15 23:03:51 jschauma Exp $");
__RCSID("$NetBSD: cp.c,v 1.47 2006/10/15 23:55:30 christos Exp $");
#endif
#endif /* not lint */
@ -82,7 +82,7 @@ __RCSID("$NetBSD: cp.c,v 1.46 2006/08/15 23:03:51 jschauma Exp $");
}
static char empty[] = "";
PATH_T to = { to.p_path, empty };
PATH_T to = { .p_end = to.p_path, .target_end = empty };
uid_t myuid;
int Hflag, Lflag, Rflag, Pflag, fflag, iflag, pflag, rflag, vflag, Nflag;