From 4e4f9e871236067f0cda4b67a732d3b3bbf08884 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 12 May 2024 09:57:37 +0200 Subject: MHR-23: Update CoreSystem prefix from CA_ to CS_. Signed-off-by: Amlal El Mahrouss --- SDK/Library/CoreSystem/Sources/File.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'SDK/Library/CoreSystem/Sources/File.c') diff --git a/SDK/Library/CoreSystem/Sources/File.c b/SDK/Library/CoreSystem/Sources/File.c index 6488bccf..bd955abb 100644 --- a/SDK/Library/CoreSystem/Sources/File.c +++ b/SDK/Library/CoreSystem/Sources/File.c @@ -20,12 +20,12 @@ enum FileOp /// @param path where to find it. /// @param rest the restrict (rw, rwe, r+, w+, r, w) /// @return FSRef the file. -CA_EXTERN_C FSRef FsOpenFile(const CharacterTypeUTF8* path, +CS_EXTERN_C FSRef FsOpenFile(const CharacterTypeUTF8* path, const CharacterTypeUTF8* rest) { - CA_MUST_PASS(kSharedApplication); - CA_MUST_PASS(path && FsIsValidPath(path) == Yes); - CA_MUST_PASS(rest); + CS_MUST_PASS(kSharedApplication); + CS_MUST_PASS(path && FsIsValidPath(path) == Yes); + CS_MUST_PASS(rest); return kSharedApplication->Invoke(kSharedApplication, kCallOpenFile, path, rest); @@ -34,9 +34,9 @@ CA_EXTERN_C FSRef FsOpenFile(const CharacterTypeUTF8* path, /// @brief Closes the file and flushes it to the said file. /// @param refFs the filesystem reference. /// @return -CA_EXTERN_C VoidType FsCloseFile(FSRef refFs) +CS_EXTERN_C VoidType FsCloseFile(FSRef refFs) { - CA_MUST_PASS(kSharedApplication); + CS_MUST_PASS(kSharedApplication); kSharedApplication->Invoke(kSharedApplication, refFs, kFlushFile); kSharedApplication->Invoke(kSharedApplication, kCallCloseFile, refFs); -- cgit v1.2.3