]> granicus.if.org Git - php/commitdiff
fixed prototypes for mysqli_connect_err* functions
authorGeorg Richter <georg@php.net>
Mon, 23 Feb 2004 16:49:18 +0000 (16:49 +0000)
committerGeorg Richter <georg@php.net>
Mon, 23 Feb 2004 16:49:18 +0000 (16:49 +0000)
(thx to Mehdi Achour)

ext/mysqli/mysqli_nonapi.c

index 3d1e6769a19f85eb6deda93cc61965b3a14a3ac3..cf97f652993923b69b1db989a01fc290e6f8b853 100644 (file)
@@ -145,7 +145,7 @@ PHP_FUNCTION(mysqli_embedded_connect)
 /* }}} */
 #endif
 
-/* {{{ proto int mysqli_connect_errno()
+/* {{{ proto int mysqli_connect_errno(void)
    Returns the numerical value of the error message from last connect command */
 PHP_FUNCTION(mysqli_connect_errno)
 {
@@ -153,7 +153,7 @@ PHP_FUNCTION(mysqli_connect_errno)
 }
 /* }}} */
 
-/* {{{ proto string mysqli_connect_error()
+/* {{{ proto string mysqli_connect_error(void)
    Returns the text of the error message from previous MySQL operation */
 PHP_FUNCTION(mysqli_connect_error) 
 {