@@ -37,7 +37,7 @@ static PHP_METHOD(Repository, open) {
3737 int res = git_repository_open_ext (& intern -> repo , path , flags , NULL );
3838
3939 if (res != 0 ) {
40- git2_throw_last_error (TSRMLS_CC );
40+ git2_throw_last_error (TSRMLS_C );
4141 return ;
4242 }
4343}
@@ -62,7 +62,7 @@ static PHP_METHOD(Repository, open_bare) {
6262 int res = git_repository_open_bare (& intern -> repo , path );
6363
6464 if (res != 0 ) {
65- git2_throw_last_error (TSRMLS_CC );
65+ git2_throw_last_error (TSRMLS_C );
6666 return ;
6767 }
6868}
@@ -89,7 +89,7 @@ static PHP_METHOD(Repository, init) {
8989 int res = git_repository_init (& intern -> repo , path , is_bare ? 1 : 0 );
9090
9191 if (res != 0 ) {
92- git2_throw_last_error (TSRMLS_CC );
92+ git2_throw_last_error (TSRMLS_C );
9393 return ;
9494 }
9595}
@@ -129,7 +129,7 @@ static PHP_METHOD(Repository, init_ext) {
129129 int res = git_repository_init_ext (& intern -> repo , path , & opts_libgit2 );
130130
131131 if (res != 0 ) {
132- git2_throw_last_error (TSRMLS_CC );
132+ git2_throw_last_error (TSRMLS_C );
133133 return ;
134134 }
135135}
@@ -186,7 +186,7 @@ static PHP_METHOD(Repository, config) {
186186 git_config * out ;
187187 int res = git_repository_config (& out , intern -> repo );
188188 if (res != 0 ) {
189- git2_throw_last_error (TSRMLS_CC );
189+ git2_throw_last_error (TSRMLS_C );
190190 return ;
191191 }
192192
@@ -318,7 +318,7 @@ static zend_function_entry git2_repository_methods[] = {
318318 { NULL , NULL , NULL }
319319};
320320
321- void git2_repository_init (TSRMLS_DC ) {
321+ void git2_repository_init (TSRMLS_D ) {
322322 zend_class_entry ce ;
323323
324324 INIT_NS_CLASS_ENTRY (ce , "Git2" , "Repository" , git2_repository_methods );
0 commit comments