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: group shortcuts for manipulating global v...



details:   https://anonhg.NetBSD.org/src/rev/e16eb565faa1
branches:  trunk
changeset: 951506:e16eb565faa1
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Feb 04 20:14:33 2021 +0000

description:
make: group shortcuts for manipulating global variables

No functional change.

diffstat:

 usr.bin/make/nonints.h |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 9f8d6ea1e438 -r e16eb565faa1 usr.bin/make/nonints.h
--- a/usr.bin/make/nonints.h    Thu Feb 04 19:50:29 2021 +0000
+++ b/usr.bin/make/nonints.h    Thu Feb 04 20:14:33 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nonints.h,v 1.198 2021/02/04 19:15:13 rillig Exp $     */
+/*     $NetBSD: nonints.h,v 1.199 2021/02/04 20:14:33 rillig Exp $     */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -371,15 +371,12 @@
 void Var_Delete(const char *, GNode *);
 void Var_DeleteExpand(const char *, GNode *);
 void Var_Undef(const char *);
-void Global_Set(const char *, const char *);
-void Global_SetExpand(const char *, const char *);
 void Var_Set(const char *, const char *, GNode *);
 void Var_SetExpand(const char *, const char *, GNode *);
 void Var_SetWithFlags(const char *, const char *, GNode *, VarSetFlags);
 void Var_SetExpandWithFlags(const char *, const char *, GNode *, VarSetFlags);
 void Var_Append(const char *, const char *, GNode *);
 void Var_AppendExpand(const char *, const char *, GNode *);
-void Global_Append(const char *, const char *);
 Boolean Var_Exists(const char *, GNode *);
 Boolean Var_ExistsExpand(const char *, GNode *);
 FStr Var_Value(const char *, GNode *);
@@ -393,6 +390,10 @@
 void Var_ExportVars(const char *);
 void Var_UnExport(Boolean, const char *);
 
+void Global_Set(const char *, const char *);
+void Global_SetExpand(const char *, const char *);
+void Global_Append(const char *, const char *);
+
 /* util.c */
 typedef void (*SignalProc)(int);
 SignalProc bmake_signal(int, SignalProc);



Home | Main Index | Thread Index | Old Index