]> granicus.if.org Git - php/commitdiff
- _zip_error_clear declaration
authorPierre Joye <pajoye@php.net>
Fri, 3 Nov 2006 16:34:44 +0000 (16:34 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 3 Nov 2006 16:34:44 +0000 (16:34 +0000)
- WS

ext/zip/lib/zip_stat_index.c
ext/zip/lib/zipint.h

index c823315da250894f16c58252d639200780266d0c..bab79a74ba757422532cc300dae57b39d3fa4bcd 100644 (file)
@@ -67,7 +67,7 @@ zip_stat_index(struct zip *za, int index, int flags, struct zip_stat *st)
            _zip_error_set(&za->error, ZIP_ER_INVAL, 0);
            return -1;
        }
-       
+
        st->crc = za->cdir->entry[index].crc;
        st->size = za->cdir->entry[index].uncomp_size;
        st->mtime = za->cdir->entry[index].last_mod;
index 9efaf06a330279785beefc03f9d990e4072fad20..ebf2743f9918b09252f87276dfe133965067efc1 100644 (file)
@@ -199,6 +199,7 @@ void _zip_entry_free(struct zip_entry *);
 void _zip_entry_init(struct zip *, int);
 struct zip_entry *_zip_entry_new(struct zip *);
 
+void _zip_error_clear(struct zip_error *);
 void _zip_error_copy(struct zip_error *, struct zip_error *);
 void _zip_error_fini(struct zip_error *);
 void _zip_error_get(struct zip_error *, int *, int *);