diff options
Diffstat (limited to 'ext/intl/dateformat/dateformat_data.c')
-rw-r--r-- | ext/intl/dateformat/dateformat_data.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/intl/dateformat/dateformat_data.c b/ext/intl/dateformat/dateformat_data.c index 509e91b617..04d37aa7ac 100644 --- a/ext/intl/dateformat/dateformat_data.c +++ b/ext/intl/dateformat/dateformat_data.c @@ -22,20 +22,20 @@ /* {{{ void dateformat_data_init( dateformat_data* datef_data ) * Initialize internals of dateformat_data. */ -void dateformat_data_init( dateformat_data* datef_data TSRMLS_DC ) +void dateformat_data_init( dateformat_data* datef_data ) { if( !datef_data ) return; datef_data->udatf = NULL; - intl_error_reset( &datef_data->error TSRMLS_CC ); + intl_error_reset( &datef_data->error ); } /* }}} */ /* {{{ void dateformat_data_free( dateformat_data* datef_data ) * Clean up memory allocated for dateformat_data */ -void dateformat_data_free( dateformat_data* datef_data TSRMLS_DC ) +void dateformat_data_free( dateformat_data* datef_data ) { if( !datef_data ) return; @@ -44,18 +44,18 @@ void dateformat_data_free( dateformat_data* datef_data TSRMLS_DC ) udat_close( datef_data->udatf ); datef_data->udatf = NULL; - intl_error_reset( &datef_data->error TSRMLS_CC ); + intl_error_reset( &datef_data->error ); } /* }}} */ /* {{{ dateformat_data* dateformat_data_create() * Allocate memory for dateformat_data and initialize it with default values. */ -dateformat_data* dateformat_data_create( TSRMLS_D ) +dateformat_data* dateformat_data_create( void ) { dateformat_data* datef_data = ecalloc( 1, sizeof(dateformat_data) ); - dateformat_data_init( datef_data TSRMLS_CC ); + dateformat_data_init( datef_data ); return datef_data; } |