diff options
Diffstat (limited to 'ext/zip/lib/zip_error.c')
-rw-r--r-- | ext/zip/lib/zip_error.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/zip/lib/zip_error.c b/ext/zip/lib/zip_error.c index 7efb4f5275..2d65d48bfc 100644 --- a/ext/zip/lib/zip_error.c +++ b/ext/zip/lib/zip_error.c @@ -17,7 +17,7 @@ 3. The names of the authors may not be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -31,13 +31,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - + #include <stdlib.h> #include "zipint.h" - + void _zip_error_clear(struct zip_error *err) @@ -49,7 +49,7 @@ _zip_error_clear(struct zip_error *err) err->sys_err = 0; } - + void _zip_error_copy(struct zip_error *dst, const struct zip_error *src) @@ -58,7 +58,7 @@ _zip_error_copy(struct zip_error *dst, const struct zip_error *src) dst->sys_err = src->sys_err; } - + void _zip_error_fini(struct zip_error *err) @@ -67,7 +67,7 @@ _zip_error_fini(struct zip_error *err) err->str = NULL; } - + void _zip_error_get(const struct zip_error *err, int *zep, int *sep) @@ -82,7 +82,7 @@ _zip_error_get(const struct zip_error *err, int *zep, int *sep) } } - + void _zip_error_init(struct zip_error *err) @@ -92,7 +92,7 @@ _zip_error_init(struct zip_error *err) err->str = NULL; } - + void _zip_error_set(struct zip_error *err, int ze, int se) @@ -103,13 +103,13 @@ _zip_error_set(struct zip_error *err, int ze, int se) } } - + void _zip_error_set_from_source(struct zip_error *err, struct zip_source *src) { int ze, se; - + zip_source_error(src, &ze, &se); _zip_error_set(err, ze, se); } |