From 4125126085bd81bf96efc2cdbdec0f5596c6c9e8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 27 Aug 2009 13:23:20 +0200 Subject: [PATCH] ocaml/guestfs_c.c: avoid warning about missing prototypes * ocaml/guestfs_c.c (ocaml_guestfs_create, ocaml_guestfs_close): Declare. --- ocaml/guestfs_c.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 1.8.3.1