Module Name: othersrc Committed By: dholland Date: Sat Mar 23 22:45:02 UTC 2013
Modified Files: othersrc/usr.bin/dholland-make2: compat.c nonints.h Log Message: Use real types. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 othersrc/usr.bin/dholland-make2/compat.c cvs rdiff -u -r1.8 -r1.9 othersrc/usr.bin/dholland-make2/nonints.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/usr.bin/dholland-make2/compat.c diff -u othersrc/usr.bin/dholland-make2/compat.c:1.7 othersrc/usr.bin/dholland-make2/compat.c:1.8 --- othersrc/usr.bin/dholland-make2/compat.c:1.7 Tue Mar 5 04:27:27 2013 +++ othersrc/usr.bin/dholland-make2/compat.c Sat Mar 23 22:45:02 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: compat.c,v 1.7 2013/03/05 04:27:27 dholland Exp $ */ +/* $NetBSD: compat.c,v 1.8 2013/03/23 22:45:02 dholland Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -101,7 +101,7 @@ #include "job.h" #include "pathnames.h" -MAKE_RCSID("$NetBSD: compat.c,v 1.7 2013/03/05 04:27:27 dholland Exp $"); +MAKE_RCSID("$NetBSD: compat.c,v 1.8 2013/03/23 22:45:02 dholland Exp $"); /* * The following array is used to make a fast determination of which @@ -491,10 +491,8 @@ again: *----------------------------------------------------------------------- */ int -Compat_Make(void *gnp, void *pgnp) +Compat_Make(GNode *gn, GNode *pgn) { - GNode *gn = (GNode *)gnp; - GNode *pgn = (GNode *)pgnp; unsigned i; char *cmd; @@ -668,7 +666,7 @@ cohorts: unsigned i; for (i=0; i<glist_num(&gn->cohorts); i++) { - Compat_Make(glist_get(&gn->cohorts, i), pgnp); + Compat_Make(glist_get(&gn->cohorts, i), pgn); } } return (0); Index: othersrc/usr.bin/dholland-make2/nonints.h diff -u othersrc/usr.bin/dholland-make2/nonints.h:1.8 othersrc/usr.bin/dholland-make2/nonints.h:1.9 --- othersrc/usr.bin/dholland-make2/nonints.h:1.8 Sat Mar 23 18:35:31 2013 +++ othersrc/usr.bin/dholland-make2/nonints.h Sat Mar 23 22:45:02 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: nonints.h,v 1.8 2013/03/23 18:35:31 dholland Exp $ */ +/* $NetBSD: nonints.h,v 1.9 2013/03/23 22:45:02 dholland Exp $ */ /*- * Copyright (c) 1988, 1989, 1990, 1993 @@ -87,7 +87,7 @@ int Arch_IsLib(GNode *); /* compat.c */ int CompatRunCommand(char *, unsigned, GNode *); void Compat_Run(GList *); -int Compat_Make(void *, void *); +int Compat_Make(GNode *, GNode *); /* cond.c */ struct If;