lib/sod.h: Make the `_vt' member of `sod_instance' be pointer-to-const.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 9 Sep 2015 09:28:17 +0000 (10:28 +0100)
lib/sod.h

index cb6b046..8270895 100644 (file)
--- a/lib/sod.h
+++ b/lib/sod.h
@@ -53,7 +53,7 @@ struct sod_vtable {
  * these.
  */
 struct sod_instance {
-  struct sod_vtable *_vt;              /* Pointer to (chain's) vtable */
+  const struct sod_vtable *_vt;                /* Pointer to (chain's) vtable */
 };
 
 /* Information about a particular chain of superclasses.  In each class,