From 02a73abc66da8263bf2e80a32eb74b94cd426da3 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Mon, 10 Oct 2005 21:56:14 +0000 Subject: [PATCH] Disable Slot resources functions --- second/glue.S | 2 ++ second/glue.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/second/glue.S b/second/glue.S index 163abd2..61dc77e 100644 --- a/second/glue.S +++ b/second/glue.S @@ -424,6 +424,7 @@ GetKeys: unlk %fp rts +#if defined(NEED_SLOT_RESOURCES) /* OSErr SGetCString(SpBlockPtr spBlkPtr) */ .global SGetCString @@ -456,6 +457,7 @@ SGetTypeSRsrc: dc.w 0xA06E /* _SlotManager */ unlk %fp rts +#endif /* NEED_SLOT_RESOURCES */ #if defined(SCSI_SUPPORT) diff --git a/second/glue.h b/second/glue.h index 2db957d..63c075a 100644 --- a/second/glue.h +++ b/second/glue.h @@ -267,6 +267,7 @@ typedef u_int32_t KeyMap[4]; extern void GetKeys(KeyMap); +#ifdef NEED_SLOT_RESOURCES enum { sRsrcType = 1, /* Type of sResource */ sRsrcName = 2, /* Name of sResource */ @@ -323,6 +324,7 @@ enum { /* flags for spParamData */ OSErr SRsrcInfo(SpBlockPtr spBlkPtr); OSErr SGetTypeSRsrc(SpBlockPtr spBlkPtr); +#endif typedef struct VDFlagRec {