git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27420d5
)
ocaml/guestfs_c.c: avoid warning about missing prototypes
author
Jim Meyering
<meyering@redhat.com>
Thu, 27 Aug 2009 11:23:20 +0000
(13:23 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Thu, 27 Aug 2009 11:23:52 +0000
(13:23 +0200)
* ocaml/guestfs_c.c (ocaml_guestfs_create, ocaml_guestfs_close): Declare.
ocaml/guestfs_c.c
patch
|
blob
|
history
diff --git
a/ocaml/guestfs_c.c
b/ocaml/guestfs_c.c
index
62d42d3
..
80dcf99
100644
(file)
--- a/
ocaml/guestfs_c.c
+++ b/
ocaml/guestfs_c.c
@@
-42,6
+42,10
@@
}while(0)
#endif
+/* These prototypes are solely to quiet gcc warning. */
+CAMLprim value ocaml_guestfs_create (void);
+CAMLprim value ocaml_guestfs_close (value gv);
+
/* Allocate handles and deal with finalization. */
static void
guestfs_finalize (value gv)