summaryrefslogtreecommitdiff
path: root/src/core/pi.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/pi.c
parentc90f98b7d5bdaecb1c497b155af5347aedb1d617 (diff)
downloadlibdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.gz
libdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.bz2
Constify vtables.
Diffstat (limited to 'src/core/pi.c')
-rw-r--r--src/core/pi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/pi.c b/src/core/pi.c
index d12f109..3e69841 100644
--- a/src/core/pi.c
+++ b/src/core/pi.c
@@ -20,14 +20,14 @@ struct dom_processing_instruction {
dom_node_internal base; /**< Base node */
};
-static struct dom_node_vtable pi_vtable = {
+static const struct dom_node_vtable pi_vtable = {
{
DOM_NODE_EVENT_TARGET_VTABLE
},
DOM_NODE_VTABLE
};
-static struct dom_node_protect_vtable pi_protect_vtable = {
+static const struct dom_node_protect_vtable pi_protect_vtable = {
DOM_PI_PROTECT_VTABLE
};
/**