summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-02-18 17:42:46 +0800
committerXinchen Hui <laruence@gmail.com>2014-02-18 17:42:46 +0800
commit43b03c74b322d6ceb003a14a7561fdffc4e13072 (patch)
treee5cf8ec9939d559fc7f6aaedb89404d2312561cc /ext/date/php_date.h
parent1c4f3d39a805323dc60f2bc1bfc96e39d608ac37 (diff)
downloadphp-git-43b03c74b322d6ceb003a14a7561fdffc4e13072.tar.gz
Refacting smart_str
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r--ext/date/php_date.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h
index d4204ebd79..4ebccf60e5 100644
--- a/ext/date/php_date.h
+++ b/ext/date/php_date.h
@@ -190,7 +190,7 @@ PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC);
#define _php_strftime php_strftime
PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gm);
#endif
-PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC);
+PHPAPI zend_string *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC);
/* Mechanism to set new TZ database */
PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);