diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c index 5ee6965f4bfd..d85a2923914d 100644 --- a/usr.bin/make/arch.c +++ b/usr.bin/make/arch.c @@ -1,4 +1,4 @@ -/* $NetBSD: arch.c,v 1.37 2003/07/14 18:19:11 christos Exp $ */ +/* $NetBSD: arch.c,v 1.38 2003/07/14 21:13:48 sjg Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -39,14 +39,14 @@ */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: arch.c,v 1.37 2003/07/14 18:19:11 christos Exp $"; +static char rcsid[] = "$NetBSD: arch.c,v 1.38 2003/07/14 21:13:48 sjg Exp $"; #else #include #ifndef lint #if 0 static char sccsid[] = "@(#)arch.c 8.2 (Berkeley) 1/2/94"; #else -__RCSID("$NetBSD: arch.c,v 1.37 2003/07/14 18:19:11 christos Exp $"); +__RCSID("$NetBSD: arch.c,v 1.38 2003/07/14 21:13:48 sjg Exp $"); #endif #endif /* not lint */ #endif @@ -1008,7 +1008,7 @@ Arch_TouchLib(GNode *gn) struct ar_hdr arh; /* Header describing table of contents */ struct utimbuf times; /* Times for utime() call */ - arch = ArchFindMember (gn->path, RANLIBMAG, &arh, "r+"); + arch = ArchFindMember (gn->path, UNCONST(RANLIBMAG), &arh, "r+"); snprintf(arh.ar_date, sizeof(arh.ar_date), "%-12ld", (long) now); if (arch != (FILE *) NULL) { @@ -1222,7 +1222,7 @@ Arch_LibOODate(GNode *gn) struct ar_hdr *arhPtr; /* Header for __.SYMDEF */ int modTimeTOC; /* The table-of-contents's mod time */ - arhPtr = ArchStatMember (gn->path, RANLIBMAG, FALSE); + arhPtr = ArchStatMember (gn->path, UNCONST(RANLIBMAG), FALSE); if (arhPtr != (struct ar_hdr *)NULL) { modTimeTOC = (int) strtol(arhPtr->ar_date, NULL, 10);