[Common-cvs] util/platform/mac MoreFilesX.c,1.5,1.5.50.1

[Common-cvs] util/platform/mac MoreFilesX.c,1.5,1.5.50.1

bobclark at helixcommunity.org bobclark at helixcommunity.org
Fri Nov 4 13:42:11 PST 2005


Update of /cvsroot/common/util/platform/mac
In directory cvs:/tmp/cvs-serv15894/platform/mac

Modified Files:
      Tag: hxclient_1_2_2_neptune
	MoreFilesX.c 
Log Message:
gcc 4.0 and OS X build fixes; cr gwright

Index: MoreFilesX.c
===================================================================
RCS file: /cvsroot/common/util/platform/mac/MoreFilesX.c,v
retrieving revision 1.5
retrieving revision 1.5.50.1
diff -u -d -r1.5 -r1.5.50.1
--- MoreFilesX.c	17 Jun 2003 21:24:34 -0000	1.5
+++ MoreFilesX.c	4 Nov 2005 21:42:09 -0000	1.5.50.1
@@ -2174,50 +2174,6 @@
 
 /*****************************************************************************/
 
-OSErr
-FSLockRange(
-	SInt16 refNum,
-	SInt32 rangeLength,
-	SInt32 rangeStart)
-{
-	OSErr			result;
-	ParamBlockRec	pb;
-
-	pb.ioParam.ioRefNum = refNum;
-	pb.ioParam.ioReqCount = rangeLength;
-	pb.ioParam.ioPosMode = fsFromStart;
-	pb.ioParam.ioPosOffset = rangeStart;
-	result = PBLockRangeSync(&pb);
-	require_noerr(result, PBLockRangeSync);
-	
-PBLockRangeSync:
-
-	return ( result );
-}
-
-/*****************************************************************************/
-
-OSErr
-FSUnlockRange(
-	SInt16 refNum,
-	SInt32 rangeLength,
-	SInt32 rangeStart)
-{
-	OSErr			result;
-	ParamBlockRec	pb;
-
-	pb.ioParam.ioRefNum = refNum;
-	pb.ioParam.ioReqCount = rangeLength;
-	pb.ioParam.ioPosMode = fsFromStart;
-	pb.ioParam.ioPosOffset = rangeStart;
-	result = PBUnlockRangeSync(&pb);
-	require_noerr(result, PBUnlockRangeSync);
-	
-PBUnlockRangeSync:
-
-	return ( result );
-}
-
 /*****************************************************************************/
 
 OSErr




More information about the Common-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.