]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 65777] Add more const
authorDan D <bulk88@hotmail.com>
Mon, 2 Sep 2024 13:54:17 +0000 (09:54 -0400)
committerPaul Smith <psmith@gnu.org>
Mon, 2 Sep 2024 17:48:30 +0000 (13:48 -0400)
commitf800f8bae35e26475956c715efcad24f64b969d9
treeae79eb3d210a3f10c99ba3fa87a29d9165c60180
parent39a4c8106297632831f642267d0f3b80bb5dae3b
[SV 65777] Add more const

Add more const to static arrays.  On some systems this allows more
data to be placed in RO segments and shared between multiple
instances of the make executable.  Anyway more const is good hygiene.

* src/default.c: Add const to arrays.
* src/function.c: Ditto.
* src/hash.c: Ditto.
* src/hash.h: Ditto.
* src/job.c: Ditto.
* src/read.c: Ditto.
* src/remake.c: Ditto.
* src/rule.c: Ditto.
* src/rule.h: Ditto.
src/default.c
src/function.c
src/hash.c
src/hash.h
src/job.c
src/read.c
src/remake.c
src/rule.c
src/rule.h