From: Jim Meyering Date: Thu, 27 Aug 2009 11:23:20 +0000 (+0200) Subject: ocaml/guestfs_c.c: avoid warning about missing prototypes X-Git-Tag: 1.0.69~26 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4125126085bd81bf96efc2cdbdec0f5596c6c9e8;p=libguestfs.git ocaml/guestfs_c.c: avoid warning about missing prototypes * ocaml/guestfs_c.c (ocaml_guestfs_create, ocaml_guestfs_close): Declare. --- diff --git a/ocaml/guestfs_c.c b/ocaml/guestfs_c.c index 62d42d3..80dcf99 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)