Specify prototyping behaviour for Perl XSUBs.
authorRichard Jones <rjones@redhat.com>
Thu, 7 May 2009 19:52:33 +0000 (20:52 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 7 May 2009 19:52:33 +0000 (20:52 +0100)
perl/Guestfs.xs
src/generator.ml

index d29d5a0..e95b274 100644 (file)
@@ -88,6 +88,8 @@ XS_unpack_charPtrPtr (SV *arg) {
 
 MODULE = Sys::Guestfs  PACKAGE = Sys::Guestfs
 
+PROTOTYPES: ENABLE
+
 guestfs_h *
 _create ()
    CODE:
index 089ed29..ef8b3aa 100755 (executable)
@@ -4826,6 +4826,8 @@ XS_unpack_charPtrPtr (SV *arg) {
 
 MODULE = Sys::Guestfs  PACKAGE = Sys::Guestfs
 
+PROTOTYPES: ENABLE
+
 guestfs_h *
 _create ()
    CODE: