From: Jim Meyering Date: Fri, 28 Aug 2009 11:43:16 +0000 (+0200) Subject: generator.ml: avoid warnings in generated ocaml/guestfs_c_actions.c X-Git-Tag: 1.0.69~24 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=23740528cd2d75a236aae1fb5d073e8be2e5a295;hp=23740528cd2d75a236aae1fb5d073e8be2e5a295 generator.ml: avoid warnings in generated ocaml/guestfs_c_actions.c * src/generator.ml: Emit prototypes for ocaml_guestfs_* functions, to avoid warnings from gcc -Wmissing-prototypes. Normally we'd put these somewhere else, but in this unusual case, they're not needed anywhere else. Handle the >5-argument case, too, for these: ocaml_guestfs_test0_byte, ocaml_guestfs_sfdisk_byte, ocaml_guestfs_sfdisk_N_byte. ---