Functions with no parameters in WebKit/Shared/API/c and WebKit/UIProcess/API/C are
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Aug 2019 21:13:40 +0000 (21:13 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Aug 2019 21:13:40 +0000 (21:13 +0000)
missing a "void" specifier in their argument list
https://bugs.webkit.org/show_bug.cgi?id=200826

Patch by Kate Cheney <katherine_cheney@apple.com> on 2019-08-16
Reviewed by Chris Dumez.

Added void to indicate functions with no arguments to satisfy compiler errors.
This error came to light when fixing another patch.

* Shared/API/c/WKArray.h:
* Shared/API/c/WKConnectionRef.h:
* Shared/API/c/WKContextMenuItem.h:
* Shared/API/c/WKData.h:
* Shared/API/c/WKDictionary.h:
* Shared/API/c/WKErrorRef.h:
* Shared/API/c/WKMutableArray.h:
* Shared/API/c/WKMutableDictionary.h:
* Shared/API/c/WKNumber.h:
* Shared/API/c/WKPluginInformation.h:
* Shared/API/c/WKRenderLayer.h:
* Shared/API/c/WKRenderObject.h:
* Shared/API/c/WKSecurityOriginRef.h:
* Shared/API/c/WKSerializedScriptValue.h:
* Shared/API/c/WKString.h:
* Shared/API/c/WKURL.h:
* Shared/API/c/WKURLRequest.h:
* Shared/API/c/WKURLResponse.h:
* Shared/API/c/WKUserContentURLPattern.h:
* UIProcess/API/C/WKBackForwardListItemRef.h:
* UIProcess/API/C/WKBackForwardListRef.h:
* UIProcess/API/C/WKContext.h:
* UIProcess/API/C/WKFormSubmissionListener.h:
* UIProcess/API/C/WKFrame.h:
* UIProcess/API/C/WKFramePolicyListener.h:
* UIProcess/API/C/WKGeolocationManager.h:
* UIProcess/API/C/WKGeolocationPermissionRequest.h:
* UIProcess/API/C/WKGeolocationPosition.h:
* UIProcess/API/C/WKHitTestResult.h:
* UIProcess/API/C/WKNavigationDataRef.h:
* UIProcess/API/C/WKOpenPanelParametersRef.h:
* UIProcess/API/C/WKOpenPanelResultListener.h:
* UIProcess/API/C/WKPage.h:
* UIProcess/API/C/WKPageConfigurationRef.h:
* UIProcess/API/C/WKPageGroup.h:
* UIProcess/API/C/WKPageUIClient.h:
* UIProcess/API/C/WKPreferencesRef.h:
* UIProcess/API/C/WKUserContentControllerRef.h:
* UIProcess/API/C/WKUserMediaPermissionRequest.h:
* UIProcess/API/C/WKUserScriptRef.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248797 268f45cc-cd09-0410-ab3c-d52691b4dbfc

41 files changed:
Source/WebKit/ChangeLog
Source/WebKit/Shared/API/c/WKArray.h
Source/WebKit/Shared/API/c/WKConnectionRef.h
Source/WebKit/Shared/API/c/WKContextMenuItem.h
Source/WebKit/Shared/API/c/WKData.h
Source/WebKit/Shared/API/c/WKDictionary.h
Source/WebKit/Shared/API/c/WKErrorRef.h
Source/WebKit/Shared/API/c/WKMutableArray.h
Source/WebKit/Shared/API/c/WKMutableDictionary.h
Source/WebKit/Shared/API/c/WKNumber.h
Source/WebKit/Shared/API/c/WKPluginInformation.h
Source/WebKit/Shared/API/c/WKRenderLayer.h
Source/WebKit/Shared/API/c/WKRenderObject.h
Source/WebKit/Shared/API/c/WKSecurityOriginRef.h
Source/WebKit/Shared/API/c/WKSerializedScriptValue.h
Source/WebKit/Shared/API/c/WKString.h
Source/WebKit/Shared/API/c/WKURL.h
Source/WebKit/Shared/API/c/WKURLRequest.h
Source/WebKit/Shared/API/c/WKURLResponse.h
Source/WebKit/Shared/API/c/WKUserContentURLPattern.h
Source/WebKit/UIProcess/API/C/WKBackForwardListItemRef.h
Source/WebKit/UIProcess/API/C/WKBackForwardListRef.h
Source/WebKit/UIProcess/API/C/WKContext.h
Source/WebKit/UIProcess/API/C/WKFormSubmissionListener.h
Source/WebKit/UIProcess/API/C/WKFrame.h
Source/WebKit/UIProcess/API/C/WKFramePolicyListener.h
Source/WebKit/UIProcess/API/C/WKGeolocationManager.h
Source/WebKit/UIProcess/API/C/WKGeolocationPermissionRequest.h
Source/WebKit/UIProcess/API/C/WKGeolocationPosition.h
Source/WebKit/UIProcess/API/C/WKHitTestResult.h
Source/WebKit/UIProcess/API/C/WKNavigationDataRef.h
Source/WebKit/UIProcess/API/C/WKOpenPanelParametersRef.h
Source/WebKit/UIProcess/API/C/WKOpenPanelResultListener.h
Source/WebKit/UIProcess/API/C/WKPage.h
Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.h
Source/WebKit/UIProcess/API/C/WKPageGroup.h
Source/WebKit/UIProcess/API/C/WKPageUIClient.h
Source/WebKit/UIProcess/API/C/WKPreferencesRef.h
Source/WebKit/UIProcess/API/C/WKUserContentControllerRef.h
Source/WebKit/UIProcess/API/C/WKUserMediaPermissionRequest.h
Source/WebKit/UIProcess/API/C/WKUserScriptRef.h

index 0205752..667d378 100644 (file)
@@ -1,3 +1,55 @@
+2019-08-16  Kate Cheney  <katherine_cheney@apple.com>
+
+        Functions with no parameters in WebKit/Shared/API/c and WebKit/UIProcess/API/C are
+        missing a "void" specifier in their argument list
+        https://bugs.webkit.org/show_bug.cgi?id=200826
+
+        Reviewed by Chris Dumez.
+
+        Added void to indicate functions with no arguments to satisfy compiler errors.
+        This error came to light when fixing another patch.
+
+        * Shared/API/c/WKArray.h:
+        * Shared/API/c/WKConnectionRef.h:
+        * Shared/API/c/WKContextMenuItem.h:
+        * Shared/API/c/WKData.h:
+        * Shared/API/c/WKDictionary.h:
+        * Shared/API/c/WKErrorRef.h:
+        * Shared/API/c/WKMutableArray.h:
+        * Shared/API/c/WKMutableDictionary.h:
+        * Shared/API/c/WKNumber.h:
+        * Shared/API/c/WKPluginInformation.h:
+        * Shared/API/c/WKRenderLayer.h:
+        * Shared/API/c/WKRenderObject.h:
+        * Shared/API/c/WKSecurityOriginRef.h:
+        * Shared/API/c/WKSerializedScriptValue.h:
+        * Shared/API/c/WKString.h:
+        * Shared/API/c/WKURL.h:
+        * Shared/API/c/WKURLRequest.h:
+        * Shared/API/c/WKURLResponse.h:
+        * Shared/API/c/WKUserContentURLPattern.h:
+        * UIProcess/API/C/WKBackForwardListItemRef.h:
+        * UIProcess/API/C/WKBackForwardListRef.h:
+        * UIProcess/API/C/WKContext.h:
+        * UIProcess/API/C/WKFormSubmissionListener.h:
+        * UIProcess/API/C/WKFrame.h:
+        * UIProcess/API/C/WKFramePolicyListener.h:
+        * UIProcess/API/C/WKGeolocationManager.h:
+        * UIProcess/API/C/WKGeolocationPermissionRequest.h:
+        * UIProcess/API/C/WKGeolocationPosition.h:
+        * UIProcess/API/C/WKHitTestResult.h:
+        * UIProcess/API/C/WKNavigationDataRef.h:
+        * UIProcess/API/C/WKOpenPanelParametersRef.h:
+        * UIProcess/API/C/WKOpenPanelResultListener.h:
+        * UIProcess/API/C/WKPage.h:
+        * UIProcess/API/C/WKPageConfigurationRef.h:
+        * UIProcess/API/C/WKPageGroup.h:
+        * UIProcess/API/C/WKPageUIClient.h:
+        * UIProcess/API/C/WKPreferencesRef.h:
+        * UIProcess/API/C/WKUserContentControllerRef.h:
+        * UIProcess/API/C/WKUserMediaPermissionRequest.h:
+        * UIProcess/API/C/WKUserScriptRef.h:
+
 2019-08-16  Chris Dumez  <cdumez@apple.com>
 
         LocalStorageDatabase does not need to subclass ThreadSafeRefCounted
index ff8d39b..ac27349 100644 (file)
@@ -34,7 +34,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKArrayGetTypeID();
+WK_EXPORT WKTypeID WKArrayGetTypeID(void);
 
 WK_EXPORT WKArrayRef WKArrayCreate(WKTypeRef* values, size_t numberOfValues);
 WK_EXPORT WKArrayRef WKArrayCreateAdoptingValues(WKTypeRef* values, size_t numberOfValues);
index fd94cb6..714e6ee 100644 (file)
@@ -48,7 +48,7 @@ typedef struct WKConnectionClientV0 {
     WKConnectionDidCloseCallback                                        didClose;
 } WKConnectionClientV0;
 
-WK_EXPORT WKTypeID WKConnectionGetTypeID();
+WK_EXPORT WKTypeID WKConnectionGetTypeID(void);
 
 WK_EXPORT void WKConnectionSetConnectionClient(WKConnectionRef connection, const WKConnectionClientBase* client);
 WK_EXPORT void WKConnectionPostMessage(WKConnectionRef connection, WKStringRef messageName, WKTypeRef messageBody);
index caf1b76..5b2543a 100644 (file)
@@ -33,7 +33,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKContextMenuItemGetTypeID();
+WK_EXPORT WKTypeID WKContextMenuItemGetTypeID(void);
 
 WK_EXPORT WKContextMenuItemRef WKContextMenuItemCreateAsAction(WKContextMenuItemTag, WKStringRef title, bool enabled);
 WK_EXPORT WKContextMenuItemRef WKContextMenuItemCreateAsCheckableAction(WKContextMenuItemTag, WKStringRef title, bool enabled, bool checked);
index 19e1fff..01b63bb 100644 (file)
@@ -34,7 +34,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKDataGetTypeID();
+WK_EXPORT WKTypeID WKDataGetTypeID(void);
 
 WK_EXPORT WKDataRef WKDataCreate(const unsigned char* bytes, size_t size);
 
index e486cc2..dc3bb6a 100644 (file)
@@ -34,7 +34,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKDictionaryGetTypeID();
+WK_EXPORT WKTypeID WKDictionaryGetTypeID(void);
 
 WK_EXPORT WKDictionaryRef WKDictionaryCreate(const WKStringRef* keys, const WKTypeRef* values, size_t numberOfValues);
 
index e990c44..3db5cdc 100644 (file)
@@ -49,9 +49,9 @@ enum {
     kWKErrorInternal =                                           300,
 };
 
-WK_EXPORT WKTypeID WKErrorGetTypeID();
+WK_EXPORT WKTypeID WKErrorGetTypeID(void);
 
-WK_EXPORT WKStringRef WKErrorCopyWKErrorDomain();
+WK_EXPORT WKStringRef WKErrorCopyWKErrorDomain(void);
 
 WK_EXPORT WKStringRef WKErrorCopyDomain(WKErrorRef error);
 WK_EXPORT int WKErrorGetErrorCode(WKErrorRef error);
index 80bd8c0..3f89610 100644 (file)
@@ -37,7 +37,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKMutableArrayRef WKMutableArrayCreate();
+WK_EXPORT WKMutableArrayRef WKMutableArrayCreate(void);
 
 WK_EXPORT void WKArrayAppendItem(WKMutableArrayRef array, WKTypeRef item);
 
index 0c3b33a..c55471b 100644 (file)
@@ -36,7 +36,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKMutableDictionaryRef WKMutableDictionaryCreate();
+WK_EXPORT WKMutableDictionaryRef WKMutableDictionaryCreate(void);
 
 WK_EXPORT bool WKDictionarySetItem(WKMutableDictionaryRef dictionary, WKStringRef key, WKTypeRef item);
 
index 2ebe73a..4f188e1 100644 (file)
@@ -33,17 +33,17 @@ extern "C" {
 #endif
 
 /* WKBoolean */
-WK_EXPORT WKTypeID WKBooleanGetTypeID();
+WK_EXPORT WKTypeID WKBooleanGetTypeID(void);
 WK_EXPORT WKBooleanRef WKBooleanCreate(bool value);
 WK_EXPORT bool WKBooleanGetValue(WKBooleanRef booleanRef);
 
 /* WKDouble */
-WK_EXPORT WKTypeID WKDoubleGetTypeID();
+WK_EXPORT WKTypeID WKDoubleGetTypeID(void);
 WK_EXPORT WKDoubleRef WKDoubleCreate(double value);
 WK_EXPORT double WKDoubleGetValue(WKDoubleRef doubleRef);
 
 /* WKUInt64 */
-WK_EXPORT WKTypeID WKUInt64GetTypeID();
+WK_EXPORT WKTypeID WKUInt64GetTypeID(void);
 WK_EXPORT WKUInt64Ref WKUInt64Create(uint64_t value);
 WK_EXPORT uint64_t WKUInt64GetValue(WKUInt64Ref integerRef);
 
index f298d72..99a55c7 100644 (file)
@@ -35,49 +35,49 @@ extern "C" {
 /* Plug-in module information keys */
 
 /* Value type: WKStringRef */
-WK_EXPORT WKStringRef WKPluginInformationBundleIdentifierKey();
+WK_EXPORT WKStringRef WKPluginInformationBundleIdentifierKey(void);
 
 /* Value type: WKStringRef */
-WK_EXPORT WKStringRef WKPluginInformationBundleVersionKey();
+WK_EXPORT WKStringRef WKPluginInformationBundleVersionKey(void);
 
 /* Value type: WKStringRef */
-WK_EXPORT WKStringRef WKPluginInformationBundleShortVersionKey();
+WK_EXPORT WKStringRef WKPluginInformationBundleShortVersionKey(void);
 
 /* Value type: WKStringRef */
-WK_EXPORT WKStringRef WKPluginInformationPathKey();
+WK_EXPORT WKStringRef WKPluginInformationPathKey(void);
 
 /* Value type: WKStringRef */
-WK_EXPORT WKStringRef WKPluginInformationDisplayNameKey();
+WK_EXPORT WKStringRef WKPluginInformationDisplayNameKey(void);
 
 /* Value type: WKUInt64Ref */
-WK_EXPORT WKStringRef WKPluginInformationDefaultLoadPolicyKey();
+WK_EXPORT WKStringRef WKPluginInformationDefaultLoadPolicyKey(void);
 
 /* Value type: WKBooleanRef */
-WK_EXPORT WKStringRef WKPluginInformationUpdatePastLastBlockedVersionIsKnownAvailableKey();
+WK_EXPORT WKStringRef WKPluginInformationUpdatePastLastBlockedVersionIsKnownAvailableKey(void);
 
 /* Value type: WKBooleanRef */
-WK_EXPORT WKStringRef WKPluginInformationHasSandboxProfileKey();
+WK_EXPORT WKStringRef WKPluginInformationHasSandboxProfileKey(void);
 
 
 /* Plug-in load specific information keys */
 
 /* Value type: WKURLRef */
-WK_EXPORT WKStringRef WKPluginInformationFrameURLKey();
+WK_EXPORT WKStringRef WKPluginInformationFrameURLKey(void);
 
 /* Value type: WKStringRef */
-WK_EXPORT WKStringRef WKPluginInformationMIMETypeKey();
+WK_EXPORT WKStringRef WKPluginInformationMIMETypeKey(void);
 
 /* Value type: WKURLRef */
-WK_EXPORT WKStringRef WKPluginInformationPageURLKey();
+WK_EXPORT WKStringRef WKPluginInformationPageURLKey(void);
 
 /* Value type: WKURLRef */
-WK_EXPORT WKStringRef WKPluginInformationPluginspageAttributeURLKey();
+WK_EXPORT WKStringRef WKPluginInformationPluginspageAttributeURLKey(void);
 
 /* Value type: WKURLRef */
-WK_EXPORT WKStringRef WKPluginInformationPluginURLKey();
+WK_EXPORT WKStringRef WKPluginInformationPluginURLKey(void);
 
 /* Value type: WKBooleanRef */
-WK_EXPORT WKStringRef WKPlugInInformationReplacementObscuredKey();
+WK_EXPORT WKStringRef WKPlugInInformationReplacementObscuredKey(void);
 
 #ifdef __cplusplus
 }
index 7aeae78..f2f51ea 100644 (file)
@@ -34,7 +34,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKRenderLayerGetTypeID();
+WK_EXPORT WKTypeID WKRenderLayerGetTypeID(void);
 
 WK_EXPORT WKRenderObjectRef WKRenderLayerGetRenderer(WKRenderLayerRef renderLayer);
 
index 0973ae8..7503559 100644 (file)
@@ -33,7 +33,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKRenderObjectGetTypeID();
+WK_EXPORT WKTypeID WKRenderObjectGetTypeID(void);
 
 WK_EXPORT WKStringRef WKRenderObjectCopyName(WKRenderObjectRef renderObject);
 WK_EXPORT WKStringRef WKRenderObjectCopyTextSnippet(WKRenderObjectRef renderObject);
index 3c3356b..6009b28 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKSecurityOriginGetTypeID();
+WK_EXPORT WKTypeID WKSecurityOriginGetTypeID(void);
 
 WK_EXPORT WKSecurityOriginRef WKSecurityOriginCreateFromString(WKStringRef string);
 WK_EXPORT WKSecurityOriginRef WKSecurityOriginCreateFromDatabaseIdentifier(WKStringRef identifier);
index 625afe0..3caa894 100644 (file)
@@ -33,7 +33,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKSerializedScriptValueGetTypeID();
+WK_EXPORT WKTypeID WKSerializedScriptValueGetTypeID(void);
 
 WK_EXPORT WKSerializedScriptValueRef WKSerializedScriptValueCreate(JSContextRef context, JSValueRef value, JSValueRef* exception);
 WK_EXPORT JSValueRef WKSerializedScriptValueDeserialize(WKSerializedScriptValueRef scriptValue, JSContextRef context, JSValueRef* exception);
index 4c6a204..23f6943 100644 (file)
@@ -44,7 +44,7 @@ extern "C" {
     typedef wchar_t WKChar;
 #endif
 
-WK_EXPORT WKTypeID WKStringGetTypeID();
+WK_EXPORT WKTypeID WKStringGetTypeID(void);
 
 WK_EXPORT WKStringRef WKStringCreateWithUTF8CString(const char* string);
 
index 6bbc2b3..a1cee7e 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKURLGetTypeID();
+WK_EXPORT WKTypeID WKURLGetTypeID(void);
 
 WK_EXPORT WKURLRef WKURLCreateWithUTF8CString(const char* string);
 WK_EXPORT WKURLRef WKURLCreateWithBaseURL(WKURLRef baseURL, const char* relative);
index 1741804..412038d 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKURLRequestGetTypeID();
+WK_EXPORT WKTypeID WKURLRequestGetTypeID(void);
 
 WK_EXPORT WKURLRequestRef WKURLRequestCreateWithWKURL(WKURLRef);
 
index 9093b77..66d9dbf 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKURLResponseGetTypeID();
+WK_EXPORT WKTypeID WKURLResponseGetTypeID(void);
 
 WK_EXPORT WKURLRef WKURLResponseCopyURL(WKURLResponseRef);
 
index 4077296..71d7a39 100644 (file)
@@ -33,7 +33,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKUserContentURLPatternGetTypeID();
+WK_EXPORT WKTypeID WKUserContentURLPatternGetTypeID(void);
 
 WK_EXPORT WKUserContentURLPatternRef WKUserContentURLPatternCreate(WKStringRef patternRef);
 
index f63ba5f..e14809f 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKBackForwardListItemGetTypeID();
+WK_EXPORT WKTypeID WKBackForwardListItemGetTypeID(void);
 
 WK_EXPORT WKURLRef WKBackForwardListItemCopyURL(WKBackForwardListItemRef item);
 WK_EXPORT WKStringRef WKBackForwardListItemCopyTitle(WKBackForwardListItemRef item);
index 97b2209..90c8a84 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKBackForwardListGetTypeID();
+WK_EXPORT WKTypeID WKBackForwardListGetTypeID(void);
 
 WK_EXPORT WKBackForwardListItemRef WKBackForwardListGetCurrentItem(WKBackForwardListRef list);
 WK_EXPORT WKBackForwardListItemRef WKBackForwardListGetBackItem(WKBackForwardListRef list);
index acd2015..9a6cbcf 100644 (file)
@@ -104,9 +104,9 @@ enum {
 };
 typedef uint32_t WKStatisticsOptions;
 
-WK_EXPORT WKTypeID WKContextGetTypeID();
+WK_EXPORT WKTypeID WKContextGetTypeID(void);
 
-WK_EXPORT WKContextRef WKContextCreate() WK_C_API_DEPRECATED_WITH_REPLACEMENT(WKContextCreateWithConfiguration);
+WK_EXPORT WKContextRef WKContextCreate(void) WK_C_API_DEPRECATED_WITH_REPLACEMENT(WKContextCreateWithConfiguration);
 WK_EXPORT WKContextRef WKContextCreateWithInjectedBundlePath(WKStringRef path) WK_C_API_DEPRECATED_WITH_REPLACEMENT(WKContextCreateWithConfiguration);
 WK_EXPORT WKContextRef WKContextCreateWithConfiguration(WKContextConfigurationRef configuration);
 
index c320b68..a466d12 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKFormSubmissionListenerGetTypeID();
+WK_EXPORT WKTypeID WKFormSubmissionListenerGetTypeID(void);
 
 WK_EXPORT void WKFormSubmissionListenerContinue(WKFormSubmissionListenerRef submissionListener);
 
index b987ddc..7c88be1 100644 (file)
@@ -43,7 +43,7 @@ enum {
 };
 typedef uint32_t WKFrameLoadState;
 
-WK_EXPORT WKTypeID WKFrameGetTypeID();
+WK_EXPORT WKTypeID WKFrameGetTypeID(void);
  
 WK_EXPORT bool WKFrameIsMainFrame(WKFrameRef frame);
 WK_EXPORT WKFrameLoadState WKFrameGetFrameLoadState(WKFrameRef frame);
index 2885c7e..76a672f 100644 (file)
@@ -31,7 +31,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKFramePolicyListenerGetTypeID();
+WK_EXPORT WKTypeID WKFramePolicyListenerGetTypeID(void);
 
 WK_EXPORT void WKFramePolicyListenerUse(WKFramePolicyListenerRef);
 WK_EXPORT void WKFramePolicyListenerUseInNewProcess(WKFramePolicyListenerRef);
index 581ae04..e3f42c8 100644 (file)
@@ -62,7 +62,7 @@ typedef struct WKGeolocationProviderV1 {
 } WKGeolocationProviderV1;
 
 
-WK_EXPORT WKTypeID WKGeolocationManagerGetTypeID();
+WK_EXPORT WKTypeID WKGeolocationManagerGetTypeID(void);
 
 WK_EXPORT void WKGeolocationManagerSetProvider(WKGeolocationManagerRef geolocationManager, const WKGeolocationProviderBase* provider);
 
index b139181..9127e0e 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKGeolocationPermissionRequestGetTypeID();
+WK_EXPORT WKTypeID WKGeolocationPermissionRequestGetTypeID(void);
 
 WK_EXPORT void WKGeolocationPermissionRequestAllow(WKGeolocationPermissionRequestRef geolocationPermissionRequest);
 WK_EXPORT void WKGeolocationPermissionRequestDeny(WKGeolocationPermissionRequestRef geolocationPermissionRequest);
index 2375e8f..24a8197 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKGeolocationPositionGetTypeID();
+WK_EXPORT WKTypeID WKGeolocationPositionGetTypeID(void);
 
 WK_EXPORT WKGeolocationPositionRef WKGeolocationPositionCreate(double timestamp, double latitude, double longitude, double accuracy);
 WK_EXPORT WKGeolocationPositionRef WKGeolocationPositionCreate_b(double timestamp, double latitude, double longitude, double accuracy, bool providesAltitude, double altitude, bool providesAltitudeAccuracy, double altitudeAccuracy, bool providesHeading, double heading, bool providesSpeed, double speed);
index 3c70813..dd6b078 100644 (file)
@@ -34,7 +34,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKHitTestResultGetTypeID();
+WK_EXPORT WKTypeID WKHitTestResultGetTypeID(void);
 
 WK_EXPORT WKURLRef WKHitTestResultCopyAbsoluteImageURL(WKHitTestResultRef hitTestResult);
 WK_EXPORT WKURLRef WKHitTestResultCopyAbsolutePDFURL(WKHitTestResultRef hitTestResult);
index b2c5f5b..ded66bc 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKNavigationDataGetTypeID();
+WK_EXPORT WKTypeID WKNavigationDataGetTypeID(void);
 
 WK_EXPORT WKStringRef WKNavigationDataCopyTitle(WKNavigationDataRef navigationData);
 WK_EXPORT WKURLRequestRef WKNavigationDataCopyOriginalRequest(WKNavigationDataRef navigationData);
index cf6098c..059f7cf 100644 (file)
@@ -37,7 +37,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKOpenPanelParametersGetTypeID();
+WK_EXPORT WKTypeID WKOpenPanelParametersGetTypeID(void);
 
 WK_EXPORT bool WKOpenPanelParametersGetAllowsDirectories(WKOpenPanelParametersRef parameters);
 WK_EXPORT bool WKOpenPanelParametersGetAllowsMultipleFiles(WKOpenPanelParametersRef parameters);
index 2618de0..699976f 100644 (file)
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKOpenPanelResultListenerGetTypeID();
+WK_EXPORT WKTypeID WKOpenPanelResultListenerGetTypeID(void);
 
 WK_EXPORT void WKOpenPanelResultListenerChooseMediaFiles(WKOpenPanelResultListenerRef listenerRef, WKArrayRef fileURLsRef, WKStringRef displayString, WKDataRef iconImageDataRef);
 WK_EXPORT void WKOpenPanelResultListenerChooseFiles(WKOpenPanelResultListenerRef listener, WKArrayRef fileURLs);
index dbd0626..6f09ec6 100644 (file)
@@ -55,7 +55,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKPageGetTypeID();
+WK_EXPORT WKTypeID WKPageGetTypeID(void);
 
 WK_EXPORT WKContextRef WKPageGetContext(WKPageRef page);
 WK_EXPORT WKPageGroupRef WKPageGetPageGroup(WKPageRef page);
index 6623e7c..277c066 100644 (file)
@@ -32,9 +32,9 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKPageConfigurationGetTypeID();
+WK_EXPORT WKTypeID WKPageConfigurationGetTypeID(void);
 
-WK_EXPORT WKPageConfigurationRef WKPageConfigurationCreate();
+WK_EXPORT WKPageConfigurationRef WKPageConfigurationCreate(void);
 
 WK_EXPORT WKContextRef WKPageConfigurationGetContext(WKPageConfigurationRef configuration);
 WK_EXPORT void WKPageConfigurationSetContext(WKPageConfigurationRef configuration, WKContextRef context);
index d820804..ea4e321 100644 (file)
@@ -34,7 +34,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKPageGroupGetTypeID();
+WK_EXPORT WKTypeID WKPageGroupGetTypeID(void);
 
 WK_EXPORT WKPageGroupRef WKPageGroupCreateWithIdentifier(WKStringRef identifier);
 
index ea88727..d26ee92 100644 (file)
@@ -69,19 +69,19 @@ enum {
 };
 typedef uint32_t WKResourceLimit;
 
-WK_EXPORT WKTypeID WKPageRunBeforeUnloadConfirmPanelResultListenerGetTypeID();
+WK_EXPORT WKTypeID WKPageRunBeforeUnloadConfirmPanelResultListenerGetTypeID(void);
 WK_EXPORT void WKPageRunBeforeUnloadConfirmPanelResultListenerCall(WKPageRunBeforeUnloadConfirmPanelResultListenerRef listener, bool result);
 
-WK_EXPORT WKTypeID WKPageRunJavaScriptAlertResultListenerGetTypeID();
+WK_EXPORT WKTypeID WKPageRunJavaScriptAlertResultListenerGetTypeID(void);
 WK_EXPORT void WKPageRunJavaScriptAlertResultListenerCall(WKPageRunJavaScriptAlertResultListenerRef listener);
 
-WK_EXPORT WKTypeID WKPageRunJavaScriptConfirmResultListenerGetTypeID();
+WK_EXPORT WKTypeID WKPageRunJavaScriptConfirmResultListenerGetTypeID(void);
 WK_EXPORT void WKPageRunJavaScriptConfirmResultListenerCall(WKPageRunJavaScriptConfirmResultListenerRef listener, bool result);
 
-WK_EXPORT WKTypeID WKPageRunJavaScriptPromptResultListenerGetTypeID();
+WK_EXPORT WKTypeID WKPageRunJavaScriptPromptResultListenerGetTypeID(void);
 WK_EXPORT void WKPageRunJavaScriptPromptResultListenerCall(WKPageRunJavaScriptPromptResultListenerRef listener, WKStringRef result);
 
-WK_EXPORT WKTypeID WKPageRequestStorageAccessConfirmResultListenerGetTypeID();
+WK_EXPORT WKTypeID WKPageRequestStorageAccessConfirmResultListenerGetTypeID(void);
 WK_EXPORT void WKPageRequestStorageAccessConfirmResultListenerCall(WKPageRequestStorageAccessConfirmResultListenerRef listener, bool result);
     
 typedef void (*WKPageUIClientCallback)(WKPageRef page, const void* clientInfo);
index df548d4..ca871ff 100644 (file)
@@ -55,9 +55,9 @@ enum _WKUserInterfaceDirectionPolicy {
 };
 typedef enum _WKUserInterfaceDirectionPolicy _WKUserInterfaceDirectionPolicy;
 
-WK_EXPORT WKTypeID WKPreferencesGetTypeID();
+WK_EXPORT WKTypeID WKPreferencesGetTypeID(void);
 
-WK_EXPORT WKPreferencesRef WKPreferencesCreate();
+WK_EXPORT WKPreferencesRef WKPreferencesCreate(void);
 WK_EXPORT WKPreferencesRef WKPreferencesCreateWithIdentifier(WKStringRef identifier);
 
 // Defaults to true.
index d462e99..96fd0ad 100644 (file)
@@ -32,9 +32,9 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKUserContentControllerGetTypeID();
+WK_EXPORT WKTypeID WKUserContentControllerGetTypeID(void);
 
-WK_EXPORT WKUserContentControllerRef WKUserContentControllerCreate();
+WK_EXPORT WKUserContentControllerRef WKUserContentControllerCreate(void);
 
 WK_EXPORT WKArrayRef WKUserContentControllerCopyUserScripts(WKUserContentControllerRef userContentController);
 WK_EXPORT void WKUserContentControllerAddUserScript(WKUserContentControllerRef userContentController, WKUserScriptRef userScript);
index 2f9c1b4..e360c1c 100644 (file)
@@ -26,7 +26,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKUserMediaPermissionRequestGetTypeID();
+WK_EXPORT WKTypeID WKUserMediaPermissionRequestGetTypeID(void);
 
 enum {
     kWKNoConstraints = 0,
index 610f9fb..de8b6a3 100644 (file)
@@ -33,7 +33,7 @@
 extern "C" {
 #endif
 
-WK_EXPORT WKTypeID WKUserScriptGetTypeID();
+WK_EXPORT WKTypeID WKUserScriptGetTypeID(void);
 
 WK_EXPORT WKUserScriptRef WKUserScriptCreateWithSource(WKStringRef source, _WKUserScriptInjectionTime injectionTime, bool forMainFrameOnly);