From d4d051af8796de92fc791528b8f7c38cd26602b0 Mon Sep 17 00:00:00 2001 From: dean Date: Sat, 9 Mar 2002 05:08:27 +0000 Subject: [PATCH] MPW #pragma unused updates --- sys/mac/macfile.c | 2 +- sys/mac/mactty.c | 2 +- sys/mac/macwin.c | 14 +++++++------- sys/mac/mttymain.c | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sys/mac/macfile.c b/sys/mac/macfile.c index 711ddea99..9ec8f0d38 100644 --- a/sys/mac/macfile.c +++ b/sys/mac/macfile.c @@ -373,7 +373,7 @@ void rsrc_dlb_cleanup(void) { } 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) #endif Str255 pname; diff --git a/sys/mac/mactty.c b/sys/mac/mactty.c index c7cc56285..d69c0e1b7 100644 --- a/sys/mac/mactty.c +++ b/sys/mac/mactty.c @@ -1021,7 +1021,7 @@ short blink_cursor (WindowPtr window, long when) { */ short image_tty (EventRecord *theEvent, WindowPtr window) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(theEvent) #endif RECORD_EXISTS (record); diff --git a/sys/mac/macwin.c b/sys/mac/macwin.c index 1b229a176..5597e02fd 100644 --- a/sys/mac/macwin.c +++ b/sys/mac/macwin.c @@ -200,7 +200,7 @@ Boolean CheckNhWin (WindowPtr mac_win) { static pascal OSErr AppleEventHandler (const AppleEvent* inAppleEvent, AppleEvent* outAEReply, long inRefCon) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(outAEReply,inRefCon) #endif Size actualSize; @@ -1164,7 +1164,7 @@ mac_number_pad (int pad) { void trans_num_keys(EventRecord *theEvent) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(theEvent) #endif /* KMH -- Removed this translation. @@ -1196,7 +1196,7 @@ trans_num_keys(EventRecord *theEvent) { */ static void GeneralKey (EventRecord *theEvent, WindowPtr theWindow) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(theWindow) #endif #if 0 @@ -1833,7 +1833,7 @@ macCursorTerm (EventRecord *theEvent, WindowPtr theWindow, RgnHandle mouseRgn) { static void GeneralCursor (EventRecord *theEvent, WindowPtr theWindow, RgnHandle mouseRgn) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(theWindow) #endif Rect r = {-1, -1, 2, 2}; @@ -2116,7 +2116,7 @@ mac_delay_output(void) { #ifdef CLIPPING static void mac_cliparound (int x, int y) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(x,y) #endif /* TODO */ @@ -2278,7 +2278,7 @@ mac_start_menu (winid win) { void 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) #endif NhWindow *aWin = &theWindows [win]; @@ -2462,7 +2462,7 @@ mac_unimplemented (void) { static void mac_suspend_nhwindows (const char *foo) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(foo) #endif /* Can't really do that :-) */ diff --git a/sys/mac/mttymain.c b/sys/mac/mttymain.c index e7cd540bf..9615b2dbf 100644 --- a/sys/mac/mttymain.c +++ b/sys/mac/mttymain.c @@ -296,7 +296,7 @@ getreturn (char *str) { int has_color (int color) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(color) #endif Rect r; @@ -364,7 +364,7 @@ short err; void term_end_attr (int attr) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused (attr) #endif _mt_set_colors (_mt_attrs [0]); @@ -532,7 +532,7 @@ settty (const char *str) void tty_number_pad (int arg) { -#if defined(applec) || defined(__MWERKS__) +#if defined(__SC__) || defined(__MRC__) # pragma unused(arg) #endif }