Bug 252143

Summary: Fix TestWebKitAPI build when including WKFeature.h
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebKit2Assignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description David Kilzer (:ddkilzer) 2023-02-12 20:06:46 PST
Fix TestWebKitAPI build when including WKFeature.h.

Seen in these EWS builds:
  <https://ews-build.webkit.org/#/builders/43/builds/40334>
  <https://ews-build.webkit.org/#/builders/85/builds/7733>

```
In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/Tools/TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:26:
In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/Tools/TestWebKitAPI/config.h:69:
In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/WebKitBuild/Release/WebKit.framework/PrivateHeaders/WebKit2_C.h:40:
/Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/WebKitBuild/Release/WebKit.framework/PrivateHeaders/WKFeature.h:34:38: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
WK_EXPORT WKTypeID WKFeatureGetTypeID();
                                     ^
                                      void
1 error generated.
```
Comment 1 Radar WebKit Bug Importer 2023-02-12 20:07:06 PST
<rdar://problem/105373344>
Comment 2 David Kilzer (:ddkilzer) 2023-02-12 20:11:08 PST
Pull request: https://github.com/WebKit/WebKit/pull/10008
Comment 3 EWS 2023-02-12 21:15:27 PST
Committed 260176@main (be80c071ab73): <https://commits.webkit.org/260176@main>

Reviewed commits have been landed. Closing PR #10008 and removing active labels.