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): move prototype of SuffFindDeps further...



details:   https://anonhg.NetBSD.org/src/rev/9b5a376ec813
branches:  trunk
changeset: 978447:9b5a376ec813
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Nov 21 20:16:14 2020 +0000

description:
make(1): move prototype of SuffFindDeps further down

Just to limit its scope.

diffstat:

 usr.bin/make/suff.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r cf3b3066531c -r 9b5a376ec813 usr.bin/make/suff.c
--- a/usr.bin/make/suff.c       Sat Nov 21 20:12:08 2020 +0000
+++ b/usr.bin/make/suff.c       Sat Nov 21 20:16:14 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: suff.c,v 1.274 2020/11/21 20:12:08 rillig Exp $        */
+/*     $NetBSD: suff.c,v 1.275 2020/11/21 20:16:14 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -114,7 +114,7 @@
 #include "dir.h"
 
 /*     "@(#)suff.c     8.4 (Berkeley) 3/21/94" */
-MAKE_RCSID("$NetBSD: suff.c,v 1.274 2020/11/21 20:12:08 rillig Exp $");
+MAKE_RCSID("$NetBSD: suff.c,v 1.275 2020/11/21 20:16:14 rillig Exp $");
 
 #define SUFF_DEBUG0(text) DEBUG0(SUFF, text)
 #define SUFF_DEBUG1(fmt, arg1) DEBUG1(SUFF, fmt, arg1)
@@ -211,8 +211,6 @@
 static Suffix *emptySuff;
 
 
-static void SuffFindDeps(GNode *, SrcList *);
-
 static Suffix *
 Suffix_Ref(Suffix *suff)
 {
@@ -1424,6 +1422,8 @@
 }
 
 
+static void SuffFindDeps(GNode *, SrcList *);
+
 /* Locate dependencies for an OP_ARCHV node.
  *
  * Input:



Home | Main Index | Thread Index | Old Index