|
From: Henri A. <has...@us...> - 2004-10-29 07:25:36
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32487 Modified Files: findinfile.c kb.c filelaunch.c filealias.c Log Message: Removed some gcc warnings. Index: filelaunch.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/filelaunch.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** filelaunch.c 23 Oct 2004 22:18:00 -0000 1.2 --- filelaunch.c 29 Oct 2004 07:25:21 -0000 1.3 *************** *** 43,47 **** #define kAEPrintSelection 'spri' ! static ProcessSerialNumber FinderNumber; //Code change by Timothy Paustian Wednesday, June 21, 2000 4:04:43 PM --- 43,48 ---- #define kAEPrintSelection 'spri' ! #if TARGET_API_MAC_CARBON == 1 ! #else static ProcessSerialNumber FinderNumber; //Code change by Timothy Paustian Wednesday, June 21, 2000 4:04:43 PM *************** *** 49,55 **** //to do is launch an application, lets try that. static OSErr GetFinderPort(void) { - #if TARGET_API_MAC_CARBON == 1 - return noErr; - #else IPCListPortsPBRec ipc; --- 50,53 ---- *************** *** 89,95 **** return 0; }; - #endif } /* --- 87,93 ---- return 0; }; } + #endif /* Index: filealias.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/filealias.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** filealias.c 23 Oct 2004 22:17:31 -0000 1.2 --- filealias.c 29 Oct 2004 07:25:21 -0000 1.3 *************** *** 80,89 **** // Forward declarations ! Boolean FSpIsVolume(const FSSpec* fsSpec); ! Boolean FSpIsFolder(const FSSpec* fsSpec, long* dirID, unsigned short* fdFlags); ! Boolean CopyCustomIcons(const FSSpec* source, short sourceID, short destRefnum, short destID); ! Boolean CopyDriverIcon(const FSSpec* volSpec, short destRefnum, short destID); ! OSErr DetermineAliasInfo(const FSSpec* fsSpec, OSType* creator, OSType* fType, Boolean* gotCustom, FSSpec* iconSpec, short* rsrcID, unsigned short* fdFlags); --- 80,89 ---- // Forward declarations ! static Boolean FSpIsVolume(const FSSpec* fsSpec); ! static Boolean FSpIsFolder(const FSSpec* fsSpec, long* dirID, unsigned short* fdFlags); ! static Boolean CopyCustomIcons(const FSSpec* source, short sourceID, short destRefnum, short destID); ! static Boolean CopyDriverIcon(const FSSpec* volSpec, short destRefnum, short destID); ! static OSErr DetermineAliasInfo(const FSSpec* fsSpec, OSType* creator, OSType* fType, Boolean* gotCustom, FSSpec* iconSpec, short* rsrcID, unsigned short* fdFlags); Index: kb.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/kb.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** kb.c 23 Oct 2004 22:22:41 -0000 1.2 --- kb.c 29 Oct 2004 07:25:21 -0000 1.3 *************** *** 435,439 **** void keyboardsetescape (void) { ! /*ouch (); /*audible feedback asap, multimedia!*/ /* --- 435,439 ---- void keyboardsetescape (void) { ! /*ouch (); %*audible feedback asap, multimedia!*/ /* *************** *** 516,520 **** return (keydown (75)); ! } /*enterkeydown*/ --- 516,520 ---- return (keydown (75)); ! } %*enterkeydown*/ Index: findinfile.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/findinfile.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** findinfile.c 23 Oct 2004 22:19:51 -0000 1.2 --- findinfile.c 29 Oct 2004 07:25:21 -0000 1.3 *************** *** 385,389 **** */ - register long ctmatches = 0; hdlfilenum fnum1 = 0, fnum2 = 0; Handle hbuffer1 = nil, hbuffer2 = nil; --- 385,388 ---- |