[PATCH] some proto fixes
| From: | Friedhelm Betz | Date: | Thu, 26 Aug 2004 17:30:18 +0000 |
| Subject: | [PATCH] some proto fixes | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-12368@lists.php.net to get a copy of this message | ||
Hi,
attached are proto fixes for time_nanosleep (basic_functions.c),
convert_uuencode/decode (uuencode.c) and some pspell functions.
(against current HEAD)
Friedhelm
Index: ext/standard/basic_functions.c =================================================================== RCS file: /repository/php-src/ext/standard/basic_functions.c,v retrieving revision 1.685 diff -u -r1.685 basic_functions.c --- ext/standard/basic_functions.c 19 Aug 2004 15:14:04 -0000 1.685 +++ ext/standard/basic_functions.c 26 Aug 2004 17:07:29 -0000 @@ -1755,7 +1755,7 @@ /* }}} */ #if HAVE_NANOSLEEP -/* {{{ proto mixed time_nanosleep(long seconds, long nanoseconds) +/* {{{ proto mixed time_nanosleep(int seconds, int nanoseconds) Delay for a number of seconds and nano seconds */ PHP_FUNCTION(time_nanosleep) { Index: ext/pspell/pspell.c =================================================================== RCS file: /repository/php-src/ext/pspell/pspell.c,v retrieving revision 1.44 diff -u -r1.44 pspell.c --- ext/pspell/pspell.c 18 May 2004 12:32:05 -0000 1.44 +++ ext/pspell/pspell.c 26 Aug 2004 17:04:59 -0000 @@ -718,7 +718,7 @@ } /* }}} */ -/* {{{ proto bool pspell_config_mode(int conf, long mode) +/* {{{ proto bool pspell_config_mode(int conf, int mode) Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS) */ PHP_FUNCTION(pspell_config_mode) { @@ -848,7 +848,7 @@ /* }}} */ /* {{{ proto bool pspell_config_dict_dir(int conf, string directory) - location of the main word list */ + Location of the main word list */ PHP_FUNCTION(pspell_config_dict_dir) { pspell_config_path(INTERNAL_FUNCTION_PARAM_PASSTHRU, "dict-dir"); Index: ext/standard/uuencode.c =================================================================== RCS file: /repository/php-src/ext/standard/uuencode.c,v retrieving revision 1.4 diff -u -r1.4 uuencode.c --- ext/standard/uuencode.c 24 Aug 2004 15:25:48 -0000 1.4 +++ ext/standard/uuencode.c 26 Aug 2004 17:08:16 -0000 @@ -183,8 +183,8 @@ return -1; } -/* {{{ proto string uuencode(string data) - uuencode a string */ +/* {{{ proto string convert_uuencode(string data) + Uuencode a string */ PHP_FUNCTION(convert_uuencode) { char *src, *dst; @@ -200,8 +200,8 @@ } /* }}} */ -/* {{{ proto string uudecode(string data) - decode a uuencoded string */ +/* {{{ proto string convert_uudecode(string data) + Decode a uuencoded string */ PHP_FUNCTION(convert_uudecode) { char *src, *dst;
Index: ext/standard/basic_functions.c =================================================================== RCS file: /repository/php-src/ext/standard/basic_functions.c,v retrieving revision 1.685 diff -u -r1.685 basic_functions.c --- ext/standard/basic_functions.c 19 Aug 2004 15:14:04 -0000 1.685 +++ ext/standard/basic_functions.c 26 Aug 2004 17:07:29 -0000 @@ -1755,7 +1755,7 @@ /* }}} */ #if HAVE_NANOSLEEP -/* {{{ proto mixed time_nanosleep(long seconds, long nanoseconds) +/* {{{ proto mixed time_nanosleep(int seconds, int nanoseconds) Delay for a number of seconds and nano seconds */ PHP_FUNCTION(time_nanosleep) { Index: ext/pspell/pspell.c =================================================================== RCS file: /repository/php-src/ext/pspell/pspell.c,v retrieving revision 1.44 diff -u -r1.44 pspell.c --- ext/pspell/pspell.c 18 May 2004 12:32:05 -0000 1.44 +++ ext/pspell/pspell.c 26 Aug 2004 17:04:59 -0000 @@ -718,7 +718,7 @@ } /* }}} */ -/* {{{ proto bool pspell_config_mode(int conf, long mode) +/* {{{ proto bool pspell_config_mode(int conf, int mode) Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS) */ PHP_FUNCTION(pspell_config_mode) { @@ -848,7 +848,7 @@ /* }}} */ /* {{{ proto bool pspell_config_dict_dir(int conf, string directory) - location of the main word list */ + Location of the main word list */ PHP_FUNCTION(pspell_config_dict_dir) { pspell_config_path(INTERNAL_FUNCTION_PARAM_PASSTHRU, "dict-dir"); Index: ext/standard/uuencode.c =================================================================== RCS file: /repository/php-src/ext/standard/uuencode.c,v retrieving revision 1.4 diff -u -r1.4 uuencode.c --- ext/standard/uuencode.c 24 Aug 2004 15:25:48 -0000 1.4 +++ ext/standard/uuencode.c 26 Aug 2004 17:08:16 -0000 @@ -183,8 +183,8 @@ return -1; } -/* {{{ proto string uuencode(string data) - uuencode a string */ +/* {{{ proto string convert_uuencode(string data) + Uuencode a string */ PHP_FUNCTION(convert_uuencode) { char *src, *dst; @@ -200,8 +200,8 @@ } /* }}} */ -/* {{{ proto string uudecode(string data) - decode a uuencoded string */ +/* {{{ proto string convert_uudecode(string data) + Decode a uuencoded string */ PHP_FUNCTION(convert_uudecode) { char *src, *dst;