summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-18 19:25:45 +0000
committerWez Furlong <wez@php.net>2004-05-18 19:25:45 +0000
commitb54a4dfeeb5e6adc401a5f4d48ad2b81c140baa0 (patch)
tree468fe5bb4fc9608ab677b180e54d803ee67fcca1 /ext/pdo_mysql/php_pdo_mysql_int.h
parentbdd4b84c299d760ed209a1224d164af22f3b45d6 (diff)
downloadphp-git-b54a4dfeeb5e6adc401a5f4d48ad2b81c140baa0.tar.gz
Minor tweaks
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rwxr-xr-xext/pdo_mysql/php_pdo_mysql_int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 830373792c..057089832d 100755
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -40,7 +40,7 @@ typedef struct {
MYSQL_RES *result;
MYSQL_ROW current_data;
long *current_lengths;
- unsigned int last_err;
+ int last_err;
pdo_mysql_column *cols;
} pdo_mysql_stmt;
@@ -53,9 +53,9 @@ typedef struct {
extern pdo_driver_t pdo_mysql_driver;
-int _mysql_error(char *what, int errno, const char *file, int line TSRMLS_DC);
+extern int _mysql_error(char *what, int errno, const char *file, int line TSRMLS_DC);
#define pdo_mysql_error(w,s) _mysql_error(w, s, __FILE__, __LINE__ TSRMLS_CC)
-int mysql_handle_error(pdo_dbh_t *dbh, pdo_mysql_db_handle *H, int errcode);
+extern int mysql_handle_error(pdo_dbh_t *dbh, pdo_mysql_db_handle *H, int errcode);
extern struct pdo_stmt_methods mysql_stmt_methods;
#endif