git.annexia.org
/
ocaml-libvirt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8944bf1
)
Disable -Wmissing-prototypes for GCC
author
Pino Toscano
<ptoscano@redhat.com>
Thu, 30 Aug 2018 10:13:43 +0000
(12:13 +0200)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 30 Aug 2018 10:26:32 +0000
(11:26 +0100)
We do not provide prototypes for all the C implementations of OCaml
APIs, so just make GCC not warn about that for now.
libvirt/libvirt_c_oneoffs.c
patch
|
blob
|
history
diff --git
a/libvirt/libvirt_c_oneoffs.c
b/libvirt/libvirt_c_oneoffs.c
index
69d1b40
..
e4fd444
100644
(file)
--- a/
libvirt/libvirt_c_oneoffs.c
+++ b/
libvirt/libvirt_c_oneoffs.c
@@
-19,6
+19,10
@@
/* Please read libvirt/README file. */
+#ifdef __GNUC__
+#pragma GCC diagnostic ignored "-Wmissing-prototypes"
+#endif
+
/*----------------------------------------------------------------------*/
CAMLprim value