]> granicus.if.org Git - php/commitdiff
- Drop phar_destroy_phar_data() from api
authorMarcus Boerger <helly@php.net>
Sun, 28 Jan 2007 12:18:07 +0000 (12:18 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 28 Jan 2007 12:18:07 +0000 (12:18 +0000)
ext/phar/phar.c
ext/phar/phar_internal.h

index 9b495172373ea74c26d56b5fad208f5cea391e58..f84a12fd6ce1b4bc8b772407c5c116444b77eb9f 100644 (file)
@@ -84,7 +84,7 @@ PHP_INI_END()
  * When all uses of a phar have been concluded, this frees the manifest
  * and the phar slot
  */
-void phar_destroy_phar_data(phar_archive_data *data TSRMLS_DC) /* {{{ */
+static void phar_destroy_phar_data(phar_archive_data *data TSRMLS_DC) /* {{{ */
 {
        if (data->alias && data->alias != data->fname) {
                efree(data->alias);
index f0558cdfff5215118cdeaf20cca5d02073c1930a..5d13c86d8ceac14571a99fd0864f64ff265e1d2d 100755 (executable)
@@ -248,7 +248,6 @@ static int    phar_dir_stat( php_stream *stream, php_stream_statbuf *ssb TSRMLS_
 int phar_archive_delref(phar_archive_data *phar TSRMLS_DC);
 int phar_entry_delref(phar_entry_data *idata TSRMLS_DC);
 
-void phar_destroy_phar_data(phar_archive_data *data TSRMLS_DC);
 phar_entry_info *phar_get_entry_info(phar_archive_data *phar, char *path, int path_len TSRMLS_DC);
 phar_entry_data *phar_get_or_create_entry_data(char *fname, int fname_len, char *path, int path_len, char *mode, char **error TSRMLS_DC);
 int phar_flush(phar_archive_data *archive, char *user_stub, long len TSRMLS_DC);