diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-27 13:23:20 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-27 13:23:52 +0200 |
commit | 4125126085bd81bf96efc2cdbdec0f5596c6c9e8 (patch) | |
tree | 61ab4d786f469e6915569fc197130374d6ac749d /ocaml/guestfs_c.c | |
parent | 27420d5dcf7ba550751323ea2f27cf45b9146a91 (diff) | |
download | libguestfs-4125126085bd81bf96efc2cdbdec0f5596c6c9e8.tar.gz libguestfs-4125126085bd81bf96efc2cdbdec0f5596c6c9e8.tar.xz libguestfs-4125126085bd81bf96efc2cdbdec0f5596c6c9e8.zip |
ocaml/guestfs_c.c: avoid warning about missing prototypes
* ocaml/guestfs_c.c (ocaml_guestfs_create, ocaml_guestfs_close): Declare.
Diffstat (limited to 'ocaml/guestfs_c.c')
-rw-r--r-- | ocaml/guestfs_c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ocaml/guestfs_c.c b/ocaml/guestfs_c.c index 62d42d3f..80dcf995 100644 --- 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) |