mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-07 09:54:47 -04:00
all: Make file-scope variables internally linked where applicable (#57)
Narrows the scope of visible symbols to where they're actually used. Also makes it easier to see true globals in source files (ones used from multiple translation units)
This commit is contained in:
parent
c94cfe4898
commit
1de6b336bb
8 changed files with 17 additions and 18 deletions
|
@ -8,8 +8,8 @@
|
|||
#include "masterkey.h"
|
||||
#include "se.h"
|
||||
|
||||
uint64_t g_tkey_expected_label_hash[4];
|
||||
unsigned int g_tkey_master_key_rev = MASTERKEY_REVISION_MAX;
|
||||
static uint64_t g_tkey_expected_label_hash[4];
|
||||
static unsigned int g_tkey_master_key_rev = MASTERKEY_REVISION_MAX;
|
||||
|
||||
/* Set the expected db prefix. */
|
||||
void tkey_set_expected_label_hash(uint64_t *label_hash) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue