webengine/osswebengine/WebKit/Plugins/WebNetscapeDeprecatedFunctions.c
author Stefan Karlsson <stefan.karlsson@nokia.com>
Sat, 10 Apr 2010 13:42:05 +0100
branchCompilerCompatibility
changeset 63 257b240a5599
parent 0 dd21522fd290
permissions -rw-r--r--
Got rid of some trivial warnings (nested comments and tokens after #endif).

/*
 *  WebNetscapeDeprecatedFunctions.c
 *  WebKit
 *
 *  Created by Tim Omernick on 3/21/06.
 *  Copyright 2006 Apple Computer, Inc. All rights reserved.
 *
 */

#include "WebNetscapeDeprecatedFunctions.h"

#ifndef __LP64__

OSErr WebGetDiskFragment(const FSSpec *fileSpec, UInt32 offset, UInt32 length, ConstStr63Param fragName, CFragLoadOptions options, CFragConnectionID *connID, Ptr *mainAddr, Str255 errMessage)
{
    return GetDiskFragment(fileSpec, offset, length, fragName, options, connID, mainAddr, errMessage);
}

OSErr WebCloseConnection(CFragConnectionID *connID)
{
    return CloseConnection(connID);
}

SInt16 WebLMGetCurApRefNum(void)
{
    return LMGetCurApRefNum();
}

extern void WebLMSetCurApRefNum(SInt16 value)
{
    LMSetCurApRefNum(value);
}

#endif /* !__LP64__ */