Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/usr.bin/make/targ.c,v rcsdiff: /ftp/cvs/cvsroot/src/usr.bin/make/targ.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.50 retrieving revision 1.51 diff -u -p -r1.50 -r1.51 --- src/usr.bin/make/targ.c 2007/12/21 20:32:24 1.50 +++ src/usr.bin/make/targ.c 2008/02/14 22:11:20 1.51 @@ -1,4 +1,4 @@ -/* $NetBSD: targ.c,v 1.50 2007/12/21 20:32:24 dsl Exp $ */ +/* $NetBSD: targ.c,v 1.51 2008/02/14 22:11:20 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,14 +69,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: targ.c,v 1.50 2007/12/21 20:32:24 dsl Exp $"; +static char rcsid[] = "$NetBSD: targ.c,v 1.51 2008/02/14 22:11:20 christos Exp $"; #else #include #ifndef lint #if 0 static char sccsid[] = "@(#)targ.c 8.2 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: targ.c,v 1.50 2007/12/21 20:32:24 dsl Exp $"); +__RCSID("$NetBSD: targ.c,v 1.51 2008/02/14 22:11:20 christos Exp $"); #endif #endif /* not lint */ #endif @@ -511,6 +511,7 @@ Targ_SetMain(GNode *gn) } static int +/*ARGSUSED*/ TargPrintName(ClientData gnp, ClientData pflags __unused) { GNode *gn = (GNode *)gnp; @@ -566,7 +567,7 @@ Targ_FmtTime(time_t tm) *----------------------------------------------------------------------- */ void -Targ_PrintType(int type) +Targ_PrintType(unsigned int type) { int tbit; @@ -576,7 +577,7 @@ Targ_PrintType(int type) type &= ~OP_OPMASK; while (type) { - tbit = 1 << (ffs(type) - 1); + tbit = 1 << (ffs((int)type) - 1); type &= ~tbit; switch(tbit) { @@ -716,6 +717,7 @@ Targ_PrintNode(ClientData gnp, ClientDat *----------------------------------------------------------------------- */ static int +/*ARGSUSED*/ TargPrintOnlySrc(ClientData gnp, ClientData dummy __unused) { GNode *gn = (GNode *)gnp; @@ -789,6 +791,7 @@ Targ_PrintGraph(int pass) *----------------------------------------------------------------------- */ static int +/*ARGSUSED*/ TargPropagateNode(ClientData gnp, ClientData junk __unused) { GNode *gn = (GNode *)gnp;