summaryrefslogtreecommitdiff
path: root/ext/dba/dba.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dba/dba.c')
-rw-r--r--ext/dba/dba.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index 08e533142c..20ca60863b 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -74,7 +74,7 @@ ZEND_GET_MODULE(dba)
typedef struct dba_handler {
char *name;
- int (*open)(dba_info *);
+ int (*open)(dba_info * TSRMLS_DC);
void (*close)(dba_info *);
char* (*fetch)(dba_info *, char *, int, int *);
int (*update)(dba_info *, char *, int, char *, int, int);
@@ -345,7 +345,7 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
info->argv = args + 3;
info->hnd = NULL;
- if(hptr->open(info) != SUCCESS) {
+ if(hptr->open(info TSRMLS_CC) != SUCCESS) {
dba_close(info);
php_error(E_WARNING, "driver initialization failed");
FREENOW;