From 441b5b97bd4f0c01b33785ef4d32b3ef3d7ea4fa Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 16 Oct 2018 13:13:40 -0400 Subject: content_archive: Make IsValidNCA() an internally linked function This is only ever used within the cpp file, so it can just be an internal function. --- src/core/file_sys/content_archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/file_sys/content_archive.cpp') diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp index a6bd3369c..6ce1cb0ae 100644 --- a/src/core/file_sys/content_archive.cpp +++ b/src/core/file_sys/content_archive.cpp @@ -97,7 +97,7 @@ union NCASectionHeader { }; static_assert(sizeof(NCASectionHeader) == 0x200, "NCASectionHeader has incorrect size."); -bool IsValidNCA(const NCAHeader& header) { +static bool IsValidNCA(const NCAHeader& header) { // TODO(DarkLordZach): Add NCA2/NCA0 support. return header.magic == Common::MakeMagic('N', 'C', 'A', '3'); } -- cgit v1.2.3