generator.ml: avoid warnings in generated ocaml/guestfs_c_actions.c
authorJim Meyering <meyering@redhat.com>
Fri, 28 Aug 2009 11:43:16 +0000 (13:43 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 28 Aug 2009 11:43:16 +0000 (13:43 +0200)
commit23740528cd2d75a236aae1fb5d073e8be2e5a295
tree189c7bb84ddf3ee6bc401a91a1f8673c2a15b3c1
parente933691fd1c1a5543c05fcd209ce57daf6cac4f7
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.
src/generator.ml