Make Optstring_val return const char *
authorPino Toscano <ptoscano@redhat.com>
Wed, 5 Sep 2018 16:03:13 +0000 (18:03 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 5 Sep 2018 16:24:19 +0000 (17:24 +0100)
commit1248a762a6aa25cf3e1e1d8f07e4b020c812a1c1
treec7b644569207480dd236f7451ea3cbc0bf0f4508
parentb8244af196b3760db71a75ab657f61420f204e12
Make Optstring_val return const char *

The users just read the result, never changing it.

This also fixes the build in case CAML_SAFE_STRING is defined (which
makes String_val() return const char *).
libvirt/libvirt_c_epilogue.c
libvirt/libvirt_c_prologue.c