diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-11 22:29:53 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-11 22:29:53 +0000 |
commit | 0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (patch) | |
tree | c1e05ec804c43aa5a8f5f21b0ed02d0587d29563 /command_line/CmdLine/Src/MacEmul/Resources.c | |
parent | aec1b8dddc68ecb8288ec6132932e4c7b4bca09f (diff) | |
download | MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.tar.gz MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.zip |
getting closer
Diffstat (limited to 'command_line/CmdLine/Src/MacEmul/Resources.c')
-rw-r--r-- | command_line/CmdLine/Src/MacEmul/Resources.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |