From 2fe6acd8f5827235774789cfc1c4e54a9eaa6c59 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 25 Mar 2015 14:31:56 +0100 Subject: [PATCH] expose destroy_uploaded_files_hash in the API (used by apfd extension) --- main/rfc1867.c | 2 +- main/rfc1867.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/rfc1867.c b/main/rfc1867.c index 493f70b65e..8425ece7e0 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -203,7 +203,7 @@ static void free_filename(zval *el) { zend_string_release(filename); } -void destroy_uploaded_files_hash(void) /* {{{ */ +PHPAPI void destroy_uploaded_files_hash(void) /* {{{ */ { zend_hash_apply(SG(rfc1867_uploaded_files), unlink_filename); zend_hash_destroy(SG(rfc1867_uploaded_files)); diff --git a/main/rfc1867.h b/main/rfc1867.h index 96fe0a02a7..1015e6e591 100644 --- a/main/rfc1867.h +++ b/main/rfc1867.h @@ -76,7 +76,7 @@ typedef char* (*php_rfc1867_basename_t)(const zend_encoding *encoding, char *str SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler); -void destroy_uploaded_files_hash(void); +PHPAPI void destroy_uploaded_files_hash(void); void php_rfc1867_register_constants(void); extern PHPAPI int (*php_rfc1867_callback)(unsigned int event, void *event_data, void **extra); -- 2.50.1