Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make(1): remove redundant function prototypes i...
details: https://anonhg.NetBSD.org/src/rev/7ba467b556a5
branches: trunk
changeset: 944241:7ba467b556a5
user: rillig <rillig%NetBSD.org@localhost>
date: Thu Sep 24 08:02:32 2020 +0000
description:
make(1): remove redundant function prototypes in suff.c
diffstat:
usr.bin/make/suff.c | 22 +++-------------------
1 files changed, 3 insertions(+), 19 deletions(-)
diffs (44 lines):
diff -r f0e8b169daa7 -r 7ba467b556a5 usr.bin/make/suff.c
--- a/usr.bin/make/suff.c Thu Sep 24 08:00:59 2020 +0000
+++ b/usr.bin/make/suff.c Thu Sep 24 08:02:32 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: suff.c,v 1.159 2020/09/24 07:11:29 rillig Exp $ */
+/* $NetBSD: suff.c,v 1.160 2020/09/24 08:02:32 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -126,7 +126,7 @@
#include "dir.h"
/* "@(#)suff.c 8.4 (Berkeley) 3/21/94" */
-MAKE_RCSID("$NetBSD: suff.c,v 1.159 2020/09/24 07:11:29 rillig Exp $");
+MAKE_RCSID("$NetBSD: suff.c,v 1.160 2020/09/24 08:02:32 rillig Exp $");
#define SUFF_DEBUG0(fmt) \
if (!DEBUG(SUFF)) (void) 0; else fprintf(debug_file, fmt)
@@ -219,24 +219,8 @@
* single-suffix transformation rules */
-static void SuffUnRef(void *, void *);
-static void SuffFree(void *);
-static void SuffInsert(SuffList *, Suff *);
-static void SuffRemove(SuffList *, Suff *);
-static Boolean SuffParseTransform(char *, Suff **, Suff **);
-static int SuffRebuildGraph(void *, void *);
-static int SuffScanTargets(void *, void *);
-static int SuffAddSrc(void *, void *);
-static void SuffAddLevel(SrcList *, Src *);
-static void SuffExpandChildren(GNodeListNode *, GNode *);
+static void SuffFindDeps(GNode *, SrcList *);
static void SuffExpandWildcards(GNodeListNode *, GNode *);
-static Boolean SuffApplyTransform(GNode *, GNode *, Suff *, Suff *);
-static void SuffFindDeps(GNode *, SrcList *);
-static void SuffFindArchiveDeps(GNode *, SrcList *);
-static void SuffFindNormalDeps(GNode *, SrcList *);
-static int SuffPrintName(void *, void *);
-static int SuffPrintSuff(void *, void *);
-static int SuffPrintTrans(void *, void *);
/*************** Lst Predicates ****************/
/*-
Home |
Main Index |
Thread Index |
Old Index