diff options
| author | sjg <sjg@NetBSD.org> | 2023-01-26 20:48:17 +0000 |
|---|---|---|
| committer | sjg <sjg@NetBSD.org> | 2023-01-26 20:48:17 +0000 |
| commit | f6f18f84e68de4c08aedab76898ad11129ff4cdf (patch) | |
| tree | 02d64695dfbb5ba9eafe717a24140ee4b11c11bc /usr.bin/make/make.h | |
| parent | 6b1dcda7cc9405bfdedbd3277bd70f51c4a67ee9 (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.h | 3 |
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); |
