MPW #pragma unused updates
This commit is contained in:
+1
-1
@@ -373,7 +373,7 @@ void rsrc_dlb_cleanup(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
boolean rsrc_dlb_fopen(dlb *dp, const char *name, const char *mode) {
|
boolean rsrc_dlb_fopen(dlb *dp, const char *name, const char *mode) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(mode)
|
# pragma unused(mode)
|
||||||
#endif
|
#endif
|
||||||
Str255 pname;
|
Str255 pname;
|
||||||
|
|||||||
+1
-1
@@ -1021,7 +1021,7 @@ short blink_cursor (WindowPtr window, long when) {
|
|||||||
*/
|
*/
|
||||||
short
|
short
|
||||||
image_tty (EventRecord *theEvent, WindowPtr window) {
|
image_tty (EventRecord *theEvent, WindowPtr window) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(theEvent)
|
# pragma unused(theEvent)
|
||||||
#endif
|
#endif
|
||||||
RECORD_EXISTS (record);
|
RECORD_EXISTS (record);
|
||||||
|
|||||||
+7
-7
@@ -200,7 +200,7 @@ Boolean CheckNhWin (WindowPtr mac_win) {
|
|||||||
|
|
||||||
static pascal OSErr
|
static pascal OSErr
|
||||||
AppleEventHandler (const AppleEvent* inAppleEvent, AppleEvent* outAEReply, long inRefCon) {
|
AppleEventHandler (const AppleEvent* inAppleEvent, AppleEvent* outAEReply, long inRefCon) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(outAEReply,inRefCon)
|
# pragma unused(outAEReply,inRefCon)
|
||||||
#endif
|
#endif
|
||||||
Size actualSize;
|
Size actualSize;
|
||||||
@@ -1164,7 +1164,7 @@ mac_number_pad (int pad) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
trans_num_keys(EventRecord *theEvent) {
|
trans_num_keys(EventRecord *theEvent) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(theEvent)
|
# pragma unused(theEvent)
|
||||||
#endif
|
#endif
|
||||||
/* KMH -- Removed this translation.
|
/* KMH -- Removed this translation.
|
||||||
@@ -1196,7 +1196,7 @@ trans_num_keys(EventRecord *theEvent) {
|
|||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
GeneralKey (EventRecord *theEvent, WindowPtr theWindow) {
|
GeneralKey (EventRecord *theEvent, WindowPtr theWindow) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(theWindow)
|
# pragma unused(theWindow)
|
||||||
#endif
|
#endif
|
||||||
#if 0
|
#if 0
|
||||||
@@ -1833,7 +1833,7 @@ macCursorTerm (EventRecord *theEvent, WindowPtr theWindow, RgnHandle mouseRgn) {
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
GeneralCursor (EventRecord *theEvent, WindowPtr theWindow, RgnHandle mouseRgn) {
|
GeneralCursor (EventRecord *theEvent, WindowPtr theWindow, RgnHandle mouseRgn) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(theWindow)
|
# pragma unused(theWindow)
|
||||||
#endif
|
#endif
|
||||||
Rect r = {-1, -1, 2, 2};
|
Rect r = {-1, -1, 2, 2};
|
||||||
@@ -2116,7 +2116,7 @@ mac_delay_output(void) {
|
|||||||
#ifdef CLIPPING
|
#ifdef CLIPPING
|
||||||
static void
|
static void
|
||||||
mac_cliparound (int x, int y) {
|
mac_cliparound (int x, int y) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(x,y)
|
# pragma unused(x,y)
|
||||||
#endif
|
#endif
|
||||||
/* TODO */
|
/* TODO */
|
||||||
@@ -2278,7 +2278,7 @@ mac_start_menu (winid win) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
mac_add_menu (winid win, int glyph, const anything *any, CHAR_P menuChar, CHAR_P groupAcc, int attr, const char *inStr, int preselected) {
|
mac_add_menu (winid win, int glyph, const anything *any, CHAR_P menuChar, CHAR_P groupAcc, int attr, const char *inStr, int preselected) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(glyph)
|
# pragma unused(glyph)
|
||||||
#endif
|
#endif
|
||||||
NhWindow *aWin = &theWindows [win];
|
NhWindow *aWin = &theWindows [win];
|
||||||
@@ -2462,7 +2462,7 @@ mac_unimplemented (void) {
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
mac_suspend_nhwindows (const char *foo) {
|
mac_suspend_nhwindows (const char *foo) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(foo)
|
# pragma unused(foo)
|
||||||
#endif
|
#endif
|
||||||
/* Can't really do that :-) */
|
/* Can't really do that :-) */
|
||||||
|
|||||||
+3
-3
@@ -296,7 +296,7 @@ getreturn (char *str) {
|
|||||||
|
|
||||||
int
|
int
|
||||||
has_color (int color) {
|
has_color (int color) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(color)
|
# pragma unused(color)
|
||||||
#endif
|
#endif
|
||||||
Rect r;
|
Rect r;
|
||||||
@@ -364,7 +364,7 @@ short err;
|
|||||||
|
|
||||||
void
|
void
|
||||||
term_end_attr (int attr) {
|
term_end_attr (int attr) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused (attr)
|
# pragma unused (attr)
|
||||||
#endif
|
#endif
|
||||||
_mt_set_colors (_mt_attrs [0]);
|
_mt_set_colors (_mt_attrs [0]);
|
||||||
@@ -532,7 +532,7 @@ settty (const char *str)
|
|||||||
|
|
||||||
void
|
void
|
||||||
tty_number_pad (int arg) {
|
tty_number_pad (int arg) {
|
||||||
#if defined(applec) || defined(__MWERKS__)
|
#if defined(__SC__) || defined(__MRC__)
|
||||||
# pragma unused(arg)
|
# pragma unused(arg)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user