Deleted Added
full compact
arch.c (236769) arch.c (237578)
1/* $NetBSD: arch.c,v 1.62 2010/11/27 16:00:09 christos Exp $ */
1/* $NetBSD: arch.c,v 1.63 2012/06/12 19:21:50 joerg Exp $ */
2
3/*
4 * Copyright (c) 1988, 1989, 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Adam de Boor.
9 *

--- 54 unchanged lines hidden (view full) ---

64 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
65 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
67 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
68 * SUCH DAMAGE.
69 */
70
71#ifndef MAKE_NATIVE
2
3/*
4 * Copyright (c) 1988, 1989, 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Adam de Boor.
9 *

--- 54 unchanged lines hidden (view full) ---

64 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
65 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
67 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
68 * SUCH DAMAGE.
69 */
70
71#ifndef MAKE_NATIVE
72static char rcsid[] = "$NetBSD: arch.c,v 1.62 2010/11/27 16:00:09 christos Exp $";
72static char rcsid[] = "$NetBSD: arch.c,v 1.63 2012/06/12 19:21:50 joerg Exp $";
73#else
74#include <sys/cdefs.h>
75#ifndef lint
76#if 0
77static char sccsid[] = "@(#)arch.c 8.2 (Berkeley) 1/2/94";
78#else
73#else
74#include <sys/cdefs.h>
75#ifndef lint
76#if 0
77static char sccsid[] = "@(#)arch.c 8.2 (Berkeley) 1/2/94";
78#else
79__RCSID("$NetBSD: arch.c,v 1.62 2010/11/27 16:00:09 christos Exp $");
79__RCSID("$NetBSD: arch.c,v 1.63 2012/06/12 19:21:50 joerg Exp $");
80#endif
81#endif /* not lint */
82#endif
83
84/*-
85 * arch.c --
86 * Functions to manipulate libraries, archives and their members.
87 *

--- 984 unchanged lines hidden (view full) ---

1072 * Side Effects:
1073 * Both the modification time of the library and of the RANLIBMAG
1074 * member are set to 'now'.
1075 *
1076 *-----------------------------------------------------------------------
1077 */
1078void
1079#if !defined(RANLIBMAG)
80#endif
81#endif /* not lint */
82#endif
83
84/*-
85 * arch.c --
86 * Functions to manipulate libraries, archives and their members.
87 *

--- 984 unchanged lines hidden (view full) ---

1072 * Side Effects:
1073 * Both the modification time of the library and of the RANLIBMAG
1074 * member are set to 'now'.
1075 *
1076 *-----------------------------------------------------------------------
1077 */
1078void
1079#if !defined(RANLIBMAG)
1080Arch_TouchLib(GNode *gn __unused)
1080Arch_TouchLib(GNode *gn MAKE_ATTR_UNUSED)
1081#else
1082Arch_TouchLib(GNode *gn)
1083#endif
1084{
1085#ifdef RANLIBMAG
1086 FILE * arch; /* Stream open to archive */
1087 struct ar_hdr arh; /* Header describing table of contents */
1088 struct utimbuf times; /* Times for utime() call */

--- 315 unchanged lines hidden ---
1081#else
1082Arch_TouchLib(GNode *gn)
1083#endif
1084{
1085#ifdef RANLIBMAG
1086 FILE * arch; /* Stream open to archive */
1087 struct ar_hdr arh; /* Header describing table of contents */
1088 struct utimbuf times; /* Times for utime() call */

--- 315 unchanged lines hidden ---