}
static struct custom_operations custom_operations = {
- "augeas_t_custom_operations",
+ (char *) "augeas_t_custom_operations",
augeas_t_finalize,
custom_compare_default,
custom_hash_default,
CAMLreturn (rv);
}
+#pragma GCC diagnostic ignored "-Wmissing-prototypes"
+
/* val create : string -> string option -> flag list -> t */
CAMLprim value
ocaml_augeas_create (value rootv, value loadpathv, value flagsv)
{
CAMLparam2 (tv, pathv);
augeas_t t = Augeas_t_val (tv);
- char *path = String_val (path);
+ char *path = String_val (pathv);
int r;
r = aug_rm (t, path);
{
CAMLparam2 (tv, pathv);
augeas_t t = Augeas_t_val (tv);
- char *path = String_val (path);
+ char *path = String_val (pathv);
int r;
r = aug_match (t, path, NULL);