From 0bec4f557a96e1a40437cf5af20cc78a5eec8a63 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 11 Jan 2023 22:29:53 +0000 Subject: getting closer --- command_line/CmdLine/Src/MacEmul/Resources.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'command_line/CmdLine/Src/MacEmul/Resources.c') diff --git a/command_line/CmdLine/Src/MacEmul/Resources.c b/command_line/CmdLine/Src/MacEmul/Resources.c index ef2aab0..821df0b 100644 --- a/command_line/CmdLine/Src/MacEmul/Resources.c +++ b/command_line/CmdLine/Src/MacEmul/Resources.c @@ -105,7 +105,7 @@ static Boolean UseResourceForkInfo; // Forward declarations static void ReadResourceFork(SInt16 ref, SInt8 permission, void *file_data, SInt32 file_size); -Boolean OS_UsingMacResourceForkInfo() { +Boolean OS_UsingMacResourceForkInfo(void) { return UseResourceForkInfo; } @@ -1186,7 +1186,7 @@ OSErr HOpenRF(SInt16 vRefNum, SInt32 dirID, ConstStringPtr fileName, SInt8 permi } } -OSErr InitResources() { +OSErr InitResources(void) { MemRsrcMap *map; map = maplist; @@ -1201,7 +1201,7 @@ OSErr InitResources() { return 0; } -OSErr ResError() { +OSErr ResError(void) { return resError; } @@ -1289,7 +1289,7 @@ OSErr HOpenResFile(SInt16 vRefNum, SInt32 dirID, ConstStringPtr fileName, SInt8 return FSpOpenResFile(&fss, permission); } -SInt16 CurResFile() { +SInt16 CurResFile(void) { return cur_res_file; } @@ -1570,7 +1570,7 @@ Handle Get1IndResource(OSType theType, SInt16 index) { } } -SInt16 Count1Types() { +SInt16 Count1Types(void) { MemRsrcMap *rm; MemRsrcTypeList *rtl; SInt16 count; @@ -1667,6 +1667,6 @@ SInt16 GetResFileAttrs(SInt16) { } } -Boolean LMGetResLoad() { +Boolean LMGetResLoad(void) { return 1; } -- cgit v1.2.3