diff options
author | Heikki Linnakangas | 2024-08-06 20:04:48 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2024-08-06 20:04:48 +0000 |
commit | fe8dd65bf28db1a6ad690ffcd5124d1863b5a4c6 (patch) | |
tree | bebe94fc30af8dcf35787e619febef093979c0ee /src/common | |
parent | 85829c973cb33592dbc0b0f3aaf9132f5dea6953 (diff) |
Mark misc static global variables as const
Reviewed-by: Andres Freund
Discussion: https://www.postgresql.org/message-id/54c29fb0-edf2-48ea-9814-44e918bbd6e8@iki.fi
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sha1.c b/src/common/sha1.c index 0525c4ff316..abfbd1c087d 100644 --- a/src/common/sha1.c +++ b/src/common/sha1.c @@ -61,7 +61,7 @@ #include "sha1_int.h" /* constant table */ -static uint32 _K[] = {0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6}; +static const uint32 _K[] = {0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6}; #define K(t) _K[(t) / 20] |