After http://trac.webkit.org/changeset/185553 we get
the following warning if we build WebKit with clang:
../../Source/WebCore/platform/network/soup/WebKitSoupRequestGeneric.h:61:33: warning: 'webkitSoupRequestGenericGetRequest' has C-linkage specified, but returns user-defined type 'const WebCore::ResourceRequest &' which is incompatible with C [-Wreturn-type-c-linkage]
const WebCore::ResourceRequest& webkitSoupRequestGenericGetRequest(WebKitSoupRequestGeneric*);
1 warning generated.
As much as I hate to convert a nice reference into a pointer, the alternative is to move the G_END_DECLS up above those function declarations, and that would be weird.
Created attachment 255229 [details]
Comment on attachment 255229 [details]
Clearing flags on attachment: 255229
Committed r185774: <http://trac.webkit.org/changeset/185774>
All reviewed patches have been landed. Closing bug.