summaryrefslogtreecommitdiff
path: root/usr.bin/make/make.h
diff options
context:
space:
mode:
authorsjg <sjg@NetBSD.org>2023-01-26 20:48:17 +0000
committersjg <sjg@NetBSD.org>2023-01-26 20:48:17 +0000
commitf6f18f84e68de4c08aedab76898ad11129ff4cdf (patch)
tree02d64695dfbb5ba9eafe717a24140ee4b11c11bc /usr.bin/make/make.h
parent6b1dcda7cc9405bfdedbd3277bd70f51c4a67ee9 (diff)
make: some variables should be read-only
Make variables like .newline and .MAKE.{GID,PID,PPID,UID} read-only. Reviewed by: rillig
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r--usr.bin/make/make.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h
index 63d280ceb71..9a6198a577d 100644
--- a/usr.bin/make/make.h
+++ b/usr.bin/make/make.h
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.310 2023/01/23 23:01:52 sjg Exp $ */
+/* $NetBSD: make.h,v 1.311 2023/01/26 20:48:17 sjg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -1031,6 +1031,7 @@ void Var_ReadOnly(const char *, bool);
void Global_Set(const char *, const char *);
void Global_Append(const char *, const char *);
void Global_Delete(const char *);
+void Global_Set_ReadOnly(const char *, const char *);
/* util.c */
typedef void (*SignalProc)(int);