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:
@@ -4,12 +4,11 @@
|
||||
#include "sealedkeys.h"
|
||||
#include "se.h"
|
||||
|
||||
const uint8_t g_titlekey_seal_key_source[0x10] = {
|
||||
static const uint8_t g_titlekey_seal_key_source[0x10] = {
|
||||
0xCB, 0xB7, 0x6E, 0x38, 0xA1, 0xCB, 0x77, 0x0F, 0xB2, 0xA5, 0xB2, 0x9D, 0xD8, 0x56, 0x9F, 0x76
|
||||
};
|
||||
|
||||
|
||||
const uint8_t g_seal_key_sources[CRYPTOUSECASE_MAX][0x10] = {
|
||||
static const uint8_t g_seal_key_sources[CRYPTOUSECASE_MAX][0x10] = {
|
||||
{0xF4, 0x0C, 0x16, 0x26, 0x0D, 0x46, 0x3B, 0xE0, 0x8C, 0x6A, 0x56, 0xE5, 0x82, 0xD4, 0x1B, 0xF6},
|
||||
{0x7F, 0x54, 0x2C, 0x98, 0x1E, 0x54, 0x18, 0x3B, 0xBA, 0x63, 0xBD, 0x4C, 0x13, 0x5B, 0xF1, 0x06},
|
||||
{0xC7, 0x3F, 0x73, 0x60, 0xB7, 0xB9, 0x9D, 0x74, 0x0A, 0xF8, 0x35, 0x60, 0x1A, 0x18, 0x74, 0x63},
|
||||
|
||||
Reference in New Issue
Block a user