mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 22:45:17 -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
|
@ -14,10 +14,10 @@ void trigger_se_rsa_op(void *buf, size_t size);
|
|||
void trigger_se_blocking_op(unsigned int op, void *dst, size_t dst_size, const void *src, size_t src_size);
|
||||
|
||||
/* Globals for driver. */
|
||||
unsigned int (*g_se_callback)(void);
|
||||
static unsigned int (*g_se_callback)(void);
|
||||
|
||||
unsigned int g_se_modulus_sizes[KEYSLOT_RSA_MAX];
|
||||
unsigned int g_se_exp_sizes[KEYSLOT_RSA_MAX];
|
||||
static unsigned int g_se_modulus_sizes[KEYSLOT_RSA_MAX];
|
||||
static unsigned int g_se_exp_sizes[KEYSLOT_RSA_MAX];
|
||||
|
||||
|
||||
/* Initialize a SE linked list. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue