|
From: Karsten W. <kar...@us...> - 2006-01-31 16:41:54
|
Update of /cvsroot/frontierkernel/Frontier/Common/UserLandIACToolkit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31854/d Modified Files: Tag: pre_int64_branch land.c landsystem7.c Log Message: initial checkin from private sandbox Index: landsystem7.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/UserLandIACToolkit/landsystem7.c,v retrieving revision 1.6 retrieving revision 1.6.6.1 diff -C2 -d -r1.6 -r1.6.6.1 *** landsystem7.c 11 Jan 2005 22:47:59 -0000 1.6 --- landsystem7.c 31 Jan 2006 16:41:41 -0000 1.6.6.1 *************** *** 337,344 **** */ ! #if TARGET_API_MAC_CARBON == 1 //what the hell do I do here? return true; ! #else register OSErr err; --- 337,345 ---- */ ! #if TARGET_API_MAC_CARBON == 1 ! #pragma unused(adr) //what the hell do I do here? return true; ! #else register OSErr err; *************** *** 427,430 **** --- 428,432 ---- pascal boolean landstring2networkaddress (ConstStr255Param bsadr, tynetworkaddress *adr) { + #pragma unused(bsadr, adr) /* *************** *** 557,563 **** return (true); ! #else return false; ! #endif } /*landbrowsenetworkapps*/ --- 559,566 ---- return (true); ! #else ! #pragma unused(bsprompt, adr, id) return false; ! #endif } /*landbrowsenetworkapps*/ *************** *** 1056,1059 **** --- 1059,1063 ---- static pascal OSErr landsystem7replyroutine (AppleEvent *message, AppleEvent *reply, long refcon) { + #pragma unused(reply, refcon) /* *************** *** 1091,1094 **** --- 1095,1099 ---- static pascal OSErr landsystem7openapproutine (AppleEvent *message, AppleEvent *reply, long refcon) { + #pragma unused(message, reply, refcon) /* *************** *** 1166,1169 **** --- 1171,1175 ---- static pascal OSErr landsystem7opendocsroutine (AppleEvent *message, AppleEvent *reply, long refcon) { + #pragma unused(reply, refcon) /* *************** *** 1193,1196 **** --- 1199,1203 ---- static pascal OSErr landsystem7quitapproutine (AppleEvent *message, AppleEvent *reply, long refcon) { + #pragma unused(message, reply, refcon) /* *************** *** 2037,2041 **** ! static pascal OSErr whyinternational (DescType itxt, const void *x, Size len, DescType text, SInt32 refcon, AEDesc *result) { if (*(short *) x != smRoman) /*can't treat this as plain text*/ --- 2044,2057 ---- ! static pascal OSErr ! whyinternational ( ! DescType itxt, ! const void *x, ! Size len, ! DescType text, ! SInt32 refcon, ! AEDesc *result) ! { ! #pragma unused(itxt, refcon) if (*(short *) x != smRoman) /*can't treat this as plain text*/ Index: land.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/UserLandIACToolkit/land.c,v retrieving revision 1.4 retrieving revision 1.4.6.1 diff -C2 -d -r1.4 -r1.4.6.1 *** land.c 11 Jan 2005 22:47:59 -0000 1.4 --- land.c 31 Jan 2006 16:41:41 -0000 1.4.6.1 *************** *** 634,639 **** ! pascal boolean landsetapplicationid (tyapplicationid tynewid) { ! return (false); --- 634,641 ---- ! pascal boolean ! landsetapplicationid (tyapplicationid tynewid) ! { ! #pragma unused(tynewid) return (false); |