[webkit-changes] [WebKit/WebKit] be80c0: Fix TestWebKitAPI build when including WKFeature.h

EWS noreply at github.com
Sun Feb 12 21:15:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: be80c071ab735e9bfd74ab80504590303e235b01
      https://github.com/WebKit/WebKit/commit/be80c071ab735e9bfd74ab80504590303e235b01
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2023-02-12 (Sun, 12 Feb 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/C/WKFeature.h

  Log Message:
  -----------
  Fix TestWebKitAPI build when including WKFeature.h
https://bugs.webkit.org/show_bug.cgi?id=252143
<rdar://105373344>

Unreviewed build fix.

Fixes this warning as error:

    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

* Source/WebKit/UIProcess/API/C/WKFeature.h:
(WKFeatureGetTypeID): Fix function declaration.

Canonical link: https://commits.webkit.org/260176@main




More information about the webkit-changes mailing list