summaryrefslogtreecommitdiffstats
path: root/WebKit/mac/Plugins/WebNetscapeDeprecatedFunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/mac/Plugins/WebNetscapeDeprecatedFunctions.h')
-rw-r--r--WebKit/mac/Plugins/WebNetscapeDeprecatedFunctions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/WebKit/mac/Plugins/WebNetscapeDeprecatedFunctions.h b/WebKit/mac/Plugins/WebNetscapeDeprecatedFunctions.h
index 93c3194..dc8bf4d 100644
--- a/WebKit/mac/Plugins/WebNetscapeDeprecatedFunctions.h
+++ b/WebKit/mac/Plugins/WebNetscapeDeprecatedFunctions.h
@@ -27,9 +27,17 @@
#import <CoreServices/CoreServices.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern OSErr WebGetDiskFragment(const FSSpec *fileSpec, UInt32 offset, UInt32 length, ConstStr63Param fragName, CFragLoadOptions options, CFragConnectionID *connID, Ptr *mainAddr, Str255 errMessage);
extern OSErr WebCloseConnection(CFragConnectionID *connID);
extern SInt16 WebLMGetCurApRefNum(void);
extern void WebLMSetCurApRefNum(SInt16 value);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ENABLE(NETSCAPE_PLUGIN_API) && !defined(__LP64__) */