|
From: Andre R. <and...@us...> - 2004-10-28 23:09:07
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3142/Frontier/Common/source Modified Files: mac.c Log Message: Eliminated GCC compiler warnings. Index: mac.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/mac.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mac.c 23 Oct 2004 22:34:43 -0000 1.2 --- mac.c 28 Oct 2004 23:08:45 -0000 1.3 *************** *** 214,218 **** ! getinitialfile (short ix, bigstring fname, short *vnum) { AppFile appfilerecord; --- 214,218 ---- ! void getinitialfile (short ix, bigstring fname, short *vnum) { AppFile appfilerecord; *************** *** 260,274 **** ! #if TARGET_API_MAC_CARBON == 0 ! int WriteToConsole (char *s) { CFShow(CFStringCreateWithCString(NULL,s,kCFStringEncodingMacRoman)); - return 0; } ! int DoErrorAlert(OSStatus status, CFStringRef errorFormatString) { CFStringRef formatStr = NULL, printErrorMsg = NULL; --- 260,273 ---- ! #if TARGET_API_MAC_CARBON ! void WriteToConsole (char *s) { CFShow(CFStringCreateWithCString(NULL,s,kCFStringEncodingMacRoman)); } ! void DoErrorAlert(OSStatus status, CFStringRef errorFormatString) { CFStringRef formatStr = NULL, printErrorMsg = NULL; *************** *** 297,302 **** } } - - return 0; } --- 296,299 ---- |