summaryrefslogtreecommitdiffstats
path: root/WebCore/xml/XPathFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/xml/XPathFunctions.cpp')
-rw-r--r--WebCore/xml/XPathFunctions.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/xml/XPathFunctions.cpp b/WebCore/xml/XPathFunctions.cpp
index da39443..1089f7c 100644
--- a/WebCore/xml/XPathFunctions.cpp
+++ b/WebCore/xml/XPathFunctions.cpp
@@ -667,12 +667,13 @@ Value FunRound::evaluate() const
return round(arg(0)->evaluate().toNumber());
}
+struct FunctionMapping {
+ const char* name;
+ FunctionRec function;
+};
+
static void createFunctionMap()
{
- struct FunctionMapping {
- const char *name;
- FunctionRec function;
- };
static const FunctionMapping functions[] = {
{ "boolean", { &createFunBoolean, 1 } },
{ "ceiling", { &createFunCeiling, 1 } },