git.annexia.org
/
ocaml-augeas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ddc8a
)
Fix a few GCC warnings.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 6 Jun 2017 14:13:09 +0000
(15:13 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 6 Jun 2017 14:13:09 +0000
(15:13 +0100)
augeas-c.c
patch
|
blob
|
history
diff --git
a/augeas-c.c
b/augeas-c.c
index
0b535d6
..
3d3cb27
100644
(file)
--- 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)