summaryrefslogtreecommitdiff
path: root/src/core/cdatasection.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2021-02-02 12:31:20 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2021-02-02 12:31:49 +0000
commita2ffae698d4c12d9457c62b79eddd4342e2e213c (patch)
tree16c81f644924bcdd180f31a8e01bf7375ccccb43 /src/core/cdatasection.c
parentc90f98b7d5bdaecb1c497b155af5347aedb1d617 (diff)
downloadlibdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.gz
libdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.bz2
Constify vtables.
Diffstat (limited to 'src/core/cdatasection.c')
-rw-r--r--src/core/cdatasection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cdatasection.c b/src/core/cdatasection.c
index c6812e3..efba237 100644
--- a/src/core/cdatasection.c
+++ b/src/core/cdatasection.c
@@ -20,7 +20,7 @@ struct dom_cdata_section {
dom_text base; /**< Base node */
};
-static struct dom_node_protect_vtable cdata_section_protect_vtable = {
+static const struct dom_node_protect_vtable cdata_section_protect_vtable = {
DOM_CDATA_SECTION_PROTECT_VTABLE
};