summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/pdo_dblib.c
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2005-01-18 07:17:01 +0000
committerFrank M. Kromann <fmk@php.net>2005-01-18 07:17:01 +0000
commit25917d58859ac54cbe067fe3e5c20de97e25357c (patch)
tree88f9647dc9fbada591e17224715da7fceb2bc96a /ext/pdo_dblib/pdo_dblib.c
parent14821bb8cf46e3d21bdfb47163655370720213a6 (diff)
downloadphp-git-25917d58859ac54cbe067fe3e5c20de97e25357c.tar.gz
Make this compile with the generic ntwdblib from Microsoft
Diffstat (limited to 'ext/pdo_dblib/pdo_dblib.c')
-rw-r--r--ext/pdo_dblib/pdo_dblib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_dblib/pdo_dblib.c b/ext/pdo_dblib/pdo_dblib.c
index e89c30b9bf..d6623420db 100644
--- a/ext/pdo_dblib/pdo_dblib.c
+++ b/ext/pdo_dblib/pdo_dblib.c
@@ -59,7 +59,7 @@ zend_module_entry pdo_dblib_module_entry = {
ZEND_GET_MODULE(pdo_dblib)
#endif
-static int error_handler(DBPROCESS *dbproc, int severity, int dberr,
+int error_handler(DBPROCESS *dbproc, int severity, int dberr,
int oserr, char *dberrstr, char *oserrstr)
{
pdo_dblib_err *einfo;
@@ -98,7 +98,7 @@ static int error_handler(DBPROCESS *dbproc, int severity, int dberr,
return INT_CANCEL;
}
-static int msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate,
+int msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate,
int severity, char *msgtext, char *srvname, char *procname, DBUSMALLINT line)
{
pdo_dblib_err *einfo;