summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
diff options
context:
space:
mode:
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);