Fix strict-prototypes blocks declarations throughout codebase

This commit is contained in:
iska
2017-09-23 02:31:48 +02:00
parent f0d9817c68
commit 4e1959bd81
6 changed files with 40 additions and 40 deletions
+2 -2
View File
@@ -2530,7 +2530,7 @@
return;
case HTMLTokenTypeStartTag:
{
void (^ anythingElse)() = ^ {
void (^ anythingElse)(void) = ^ {
if (self.adjustedCurrentNode.htmlNamespace == HTMLNamespaceMathML) {
AdjustMathMLAttributes(token.asTagToken);
}
@@ -2545,7 +2545,7 @@
}
};
void (^ matchedCase)() = ^ {
void (^ matchedCase)(void) = ^ {
[self emitParseError:@"Unexpected start tag <%@> in foreign content", token.asTagToken.tagName];
if (_fragmentParsingAlgorithm) {
anythingElse();