MarcoFalke
fa74f58a26
scripted-diff: Use inline const over (static) const
...
Both are fine and this refactor shouldn't change any behavior.
However, inline const will ensure each symbol has a single address
across all TU, making the release binary smaller.
-BEGIN VERIFY SCRIPT-
# Replace `static const`
sed -i "s/^static const /inline const /" $( \
git grep -l "^static const " -- \
'*.h' \
':(exclude)src/leveldb' \
':(exclude)src/secp256k1' \
)
# Replace plain `const`
sed -i --regexp-extended 's/^const (\S+ \w+(\[\])? ?[={])/inline &/' $( \
git grep -l '^const ' -- \
'*.h' \
':(exclude)src/leveldb' \
':(exclude)src/secp256k1' \
)
-END VERIFY SCRIPT-
2026-08-05 08:35:04 +02:00
..
2026-08-04 23:04:06 +02:00
2026-08-05 08:32:32 +02:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:34:58 +02:00
2026-06-26 09:56:01 -07:00
2026-08-03 15:53:09 +01:00
2026-07-29 09:36:13 +02:00
2026-08-05 08:34:13 +02:00
2026-06-23 22:10:34 -04:00
2026-08-05 08:35:04 +02:00
2026-08-05 08:35:04 +02:00
2026-08-05 08:32:32 +02:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:35:04 +02:00
2026-07-23 09:52:01 +01:00
2026-07-24 14:01:06 +01:00
2026-08-05 08:35:04 +02:00
2026-08-05 08:34:58 +02:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:35:04 +02:00
2026-08-05 08:35:04 +02:00
2026-07-14 13:31:49 +02:00
2026-08-05 08:35:04 +02:00
2026-08-05 08:32:32 +02:00
2026-07-10 13:33:51 -03:00
2026-08-05 08:32:32 +02:00
2026-08-05 08:32:32 +02:00
2026-08-05 08:32:32 +02:00
2026-08-05 08:32:32 +02:00
2026-06-27 11:26:41 +01:00
2026-07-17 14:01:58 +02:00
2026-07-17 10:57:18 -04:00
2026-08-05 08:32:32 +02:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:34:13 +02:00
2026-07-14 13:20:41 -04:00
2026-07-23 09:52:01 +01:00
2026-07-17 22:55:23 -07:00
2026-07-17 22:55:23 -07:00
2026-07-24 14:01:06 +01:00
2026-07-04 11:19:19 -04:00
2026-08-05 08:34:13 +02:00
2026-07-02 09:23:48 -04:00
2026-07-24 14:01:06 +01:00
2026-06-22 05:47:00 -04:00
2026-08-01 16:43:57 +01:00
2026-08-05 08:34:13 +02:00
2026-07-23 12:06:32 +02:00
2026-08-05 08:32:32 +02:00
2026-08-03 12:03:56 -07:00
2026-08-05 08:32:32 +02:00
2026-07-29 09:55:39 +02:00
2026-08-05 08:32:32 +02:00
2026-06-23 22:10:34 -04:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:32:32 +02:00
2026-06-25 17:34:01 -07:00
2026-08-05 08:31:22 +02:00
2026-08-04 11:50:22 +02:00
2026-08-05 08:34:13 +02:00
2026-07-24 14:30:00 -07:00
2026-08-05 08:35:04 +02:00
2026-08-05 08:34:13 +02:00
2026-06-27 11:26:41 +01:00
2026-08-05 08:35:04 +02:00
2026-08-05 08:32:32 +02:00
2026-07-07 16:24:48 +01:00
2026-06-30 14:53:59 -04:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:34:13 +02:00
2026-06-25 17:34:01 -07:00
2026-08-05 08:34:13 +02:00
2026-06-22 05:47:00 -04:00
2026-08-05 08:34:13 +02:00
2026-07-24 14:01:06 +01:00
2026-07-28 13:02:21 +02:00
2026-08-05 08:34:13 +02:00
2026-06-23 16:13:03 -07:00
2026-07-14 13:27:20 -07:00
2026-07-17 11:36:46 +01:00
2026-08-05 08:32:32 +02:00
2026-07-12 09:12:27 +10:00
2026-08-05 08:34:13 +02:00
2026-07-17 19:02:14 -07:00
2026-07-19 19:21:19 -07:00
2026-08-05 08:34:13 +02:00
2026-08-05 08:34:13 +02:00