X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=augeas-c.c;h=3d3cb27afb1b588d9aa81f21de4b3c29cb678f0e;hb=864440e04886ac660fc980b06ecc8148eb3b68f7;hp=0b535d65575e493d08cdb47030ced7afeea6b133;hpb=ddfd3f8bea4d92c802bfcca21e1523b9be06982c;p=ocaml-augeas.git diff --git a/augeas-c.c b/augeas-c.c index 0b535d6..3d3cb27 100644 --- a/augeas-c.c +++ b/augeas-c.c @@ -56,7 +56,7 @@ augeas_t_finalize (value tv) } static struct custom_operations custom_operations = { - "augeas_t_custom_operations", + (char *) "augeas_t_custom_operations", augeas_t_finalize, custom_compare_default, custom_hash_default, @@ -81,6 +81,8 @@ static value Val_augeas_t (augeas_t t) 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)