From: Mark Wooding Date: Sun, 30 Aug 2015 09:58:38 +0000 (+0100) Subject: lib/sod.h: Make the `_vt' member of `sod_instance' be pointer-to-const. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/d83a91c663ced211bb7e4509f800859c3fa086e9 lib/sod.h: Make the `_vt' member of `sod_instance' be pointer-to-const. --- diff --git a/lib/sod.h b/lib/sod.h index cb6b046..8270895 100644 --- 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,