docs: guestfs_set_out_of_memory_handler returns void, not int.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 6 Aug 2011 14:53:15 +0000 (15:53 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 6 Aug 2011 14:53:15 +0000 (15:53 +0100)
It always has done.  The documentation was wrong.

src/guestfs.pod

index a1831c0..8cb1b86 100644 (file)
@@ -1453,8 +1453,8 @@ Returns the current error handler callback.
 =head2 guestfs_set_out_of_memory_handler
 
  typedef void (*guestfs_abort_cb) (void);
int guestfs_set_out_of_memory_handler (guestfs_h *g,
-                                        guestfs_abort_cb);
void guestfs_set_out_of_memory_handler (guestfs_h *g,
+                                         guestfs_abort_cb);
 
 The callback C<cb> will be called if there is an out of memory
 situation.  I<Note this callback must not return>.