diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-08-06 15:53:15 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-08-06 15:53:15 +0100 |
commit | 70f44cc0ea0bcdd025ed657461e07f6778be44ba (patch) | |
tree | 86e5154b53b83437621a2abcf31b319f4f2e4533 | |
parent | 1bf3941b9ccabef122cc6479004d18ddcb935eef (diff) | |
download | libguestfs-70f44cc0ea0bcdd025ed657461e07f6778be44ba.tar.gz libguestfs-70f44cc0ea0bcdd025ed657461e07f6778be44ba.tar.xz libguestfs-70f44cc0ea0bcdd025ed657461e07f6778be44ba.zip |
docs: guestfs_set_out_of_memory_handler returns void, not int.
It always has done. The documentation was wrong.
-rw-r--r-- | src/guestfs.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod index a1831c0d..8cb1b867 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -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>. |