Rename extern/global variables to g_varName instead of varName to avoid shadowing

This commit is contained in:
2026-09-15 17:54:50 +02:00
parent 099433b9df
commit fd27c2bac4
14 changed files with 251 additions and 251 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ KHASH_INIT(tx_mempool_map_m, key32_t, signed_transaction_t, 1, hash_key32, eq_ke
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop
#endif
extern khash_t(tx_mempool_map_m)* txMempool;
extern khash_t(tx_mempool_map_m)* g_txMempool;
void TxMempool_Init();
// Assumed that the transation was confirmed to be valid