summaryrefslogtreecommitdiff
path: root/ext/phar/func_interceptors.c
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-09-13 22:30:55 +0000
committerGreg Beaver <cellog@php.net>2008-09-13 22:30:55 +0000
commit9eb83b6ae94ab487f5c7c39fa6b348509c306223 (patch)
tree3b487717ab6058e24c6136bde1ed65b82a4394e6 /ext/phar/func_interceptors.c
parent8209f891a4099c55eb49b3993d7ca14fe72dedd9 (diff)
downloadphp-git-9eb83b6ae94ab487f5c7c39fa6b348509c306223.tar.gz
fix minor issues found by ICC (unused variables and the like)
Diffstat (limited to 'ext/phar/func_interceptors.c')
-rw-r--r--ext/phar/func_interceptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/func_interceptors.c b/ext/phar/func_interceptors.c
index cf08cfd47c..7b7abe6077 100644
--- a/ext/phar/func_interceptors.c
+++ b/ext/phar/func_interceptors.c
@@ -438,7 +438,7 @@ skip_phar:
/* {{{ php_stat
*/
-void phar_fancy_stat(struct stat *stat_sb, int type, zval *return_value TSRMLS_DC)
+static void phar_fancy_stat(struct stat *stat_sb, int type, zval *return_value TSRMLS_DC)
{
zval *stat_dev, *stat_ino, *stat_mode, *stat_nlink, *stat_uid, *stat_gid, *stat_rdev,
*stat_size, *stat_atime, *stat_mtime, *stat_ctime, *stat_blksize, *stat_blocks;
@@ -607,7 +607,7 @@ void phar_fancy_stat(struct stat *stat_sb, int type, zval *return_value TSRMLS_D
}
/* }}} */
-void phar_file_stat(const char *filename, php_stat_len filename_length, int type, void (*orig_stat_func)(INTERNAL_FUNCTION_PARAMETERS), INTERNAL_FUNCTION_PARAMETERS) /* {{{ */
+static void phar_file_stat(const char *filename, php_stat_len filename_length, int type, void (*orig_stat_func)(INTERNAL_FUNCTION_PARAMETERS), INTERNAL_FUNCTION_PARAMETERS) /* {{{ */
{
if (!filename_length) {
RETURN_FALSE;