From 864440e04886ac660fc980b06ecc8148eb3b68f7 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 6 Jun 2017 15:13:09 +0100 Subject: [PATCH] Fix a few GCC warnings. --- augeas-c.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 1.8.3.1