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/162d0c7e6f34
branches:  trunk
changeset: 946250:162d0c7e6f34
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 58d7bbb25a07 -r 162d0c7e6f34 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