Fix return value. Noted by Joel Ebrahimi.

--HG--
branch : HEAD
diff --git a/ChangeLog b/ChangeLog
index cc696ff..d956926 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-20  Thomas Klausner  <wiz@danbala.tuwien.ac.at>
+
+	* man/zip_source_buffer.mdoc, man/zip_source_file.mdoc,
+	man/zip_source_filep.mdoc, man/zip_source_function.mdoc,
+	man/zip_source_zip.mdoc: fix return value.
+
 2005-07-17  Thomas Klausner  <wiz@danbala.tuwien.ac.at>
 
 	* regress/Makefile.am: enable add_from_filep test.
diff --git a/man/zip_source_buffer.mdoc b/man/zip_source_buffer.mdoc
index 9e8f555..6f11dd6 100644
--- a/man/zip_source_buffer.mdoc
+++ b/man/zip_source_buffer.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_buffer.mdoc,v 1.4 2005/06/09 21:13:12 wiz Exp $
+.\" $NiH: zip_source_buffer.mdoc,v 1.5 2005/06/09 21:14:54 wiz Exp $
 .\"
 .\" zip_source_buffer.mdoc -- create zip data source from buffer
 .\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
@@ -31,7 +31,7 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 4, 2004
+.Dd July 20, 2005
 .Dt ZIP_SOURCE_DATA 3
 .Os
 .Sh NAME
@@ -41,7 +41,7 @@
 libzip (-lzip)
 .Sh SYNOPSIS
 .In zip.h
-.Ft int
+.Ft struct zip_source *
 .Fn zip_source_buffer "struct zip *archive" "const void *data" "off_t len" \
 "int freep"
 .Sh DESCRIPTION
diff --git a/man/zip_source_file.mdoc b/man/zip_source_file.mdoc
index 1b896d1..fd78d88 100644
--- a/man/zip_source_file.mdoc
+++ b/man/zip_source_file.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_file.mdoc,v 1.7 2005/06/09 21:14:54 wiz Exp $
+.\" $NiH: zip_source_file.mdoc,v 1.8 2005/07/15 14:11:16 wiz Exp $
 .\"
 .\" zip_source_file.mdoc -- create data source from a file
 .\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
@@ -31,7 +31,7 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 4, 2004
+.Dd July 20, 2005
 .Dt ZIP_SOURCE_FILE 3
 .Os
 .Sh NAME
@@ -40,7 +40,7 @@
 .Sh LIBRARY
 libzip (-lzip)
 .Sh SYNOPSIS
-.Ft int
+.Ft struct zip_source *
 .Fn zip_source_file "struct zip *archive" "const char *fname" "off_t start" "off_t len"
 .Sh DESCRIPTION
 The function
diff --git a/man/zip_source_filep.mdoc b/man/zip_source_filep.mdoc
index 9e7a3f0..59fd25e 100644
--- a/man/zip_source_filep.mdoc
+++ b/man/zip_source_filep.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_filep.mdoc,v 1.5 2005/06/09 21:13:12 wiz Exp $
+.\" $NiH: zip_source_filep.mdoc,v 1.6 2005/06/09 21:14:54 wiz Exp $
 .\"
 .\" zip_source_filep.mdoc -- create data source from a file stream
 .\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
@@ -31,7 +31,7 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 4, 2004
+.Dd July 20, 2005
 .Dt ZIP_SOURCE_FILEP 3
 .Os
 .Sh NAME
@@ -40,7 +40,7 @@
 .Sh LIBRARY
 libzip (-lzip)
 .Sh SYNOPSIS
-.Ft int
+.Ft struct zip_source *
 .Fn zip_source_filep "struct zip *archive" "FILE *file" "off_t start" "off_t len"
 .Sh DESCRIPTION
 The function
diff --git a/man/zip_source_function.mdoc b/man/zip_source_function.mdoc
index a4052fb..83354ba 100644
--- a/man/zip_source_function.mdoc
+++ b/man/zip_source_function.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_function.mdoc,v 1.12 2005/06/09 21:13:12 wiz Exp $
+.\" $NiH: zip_source_function.mdoc,v 1.13 2005/06/09 21:14:54 wiz Exp $
 .\"
 .\" zip_source_function.mdoc -- create data source from function
 .\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
@@ -31,7 +31,7 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 22, 2004
+.Dd July 20, 2005
 .Dt ZIP_SOURCE_FUNCTION 3
 .Os
 .Sh NAME
@@ -41,7 +41,7 @@
 libzip (-lzip)
 .Sh SYNOPSIS
 .In zip.h
-.Ft int
+.Ft struct zip_source *
 .Fn zip_source_function "struct zip *archive" "zip_source_callback fn" "void *userdata"
 .Sh DESCRIPTION
 The function
diff --git a/man/zip_source_zip.mdoc b/man/zip_source_zip.mdoc
index 2a8167f..4a1f388 100644
--- a/man/zip_source_zip.mdoc
+++ b/man/zip_source_zip.mdoc
@@ -1,4 +1,4 @@
-.\" $NiH: zip_source_zip.mdoc,v 1.5 2005/06/09 21:13:12 wiz Exp $
+.\" $NiH: zip_source_zip.mdoc,v 1.6 2005/06/09 21:14:54 wiz Exp $
 .\"
 .\" zip_source_zip.mdoc -- create data source from zip file
 .\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
@@ -31,7 +31,7 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 4, 2004
+.Dd July 20, 2005
 .Dt ZIP_SOURCE_ZIP 3
 .Os
 .Sh NAME
@@ -41,7 +41,7 @@
 libzip (-lzip)
 .Sh SYNOPSIS
 .In zip.h
-.Ft int
+.Ft struct zip_source *
 .Fn zip_source_zip "struct zip *archive" "struct zip *srcarchive" \
 "int srcidx" "int flags" "off_t start" "off_t len"
 .Sh DESCRIPTION