summaryrefslogtreecommitdiff
path: root/ext/ncurses/ncurses.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2001-12-15 14:20:41 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2001-12-15 14:20:41 +0000
commit57c7f0ab5c15d038483063a931541b8eb29fa570 (patch)
tree85b0b44cee4493161a6d0c22c00045dc353fdaff /ext/ncurses/ncurses.c
parent1c23d93135c84b6258ed3f1c8038795823040ada (diff)
downloadphp-git-57c7f0ab5c15d038483063a931541b8eb29fa570.tar.gz
cleanup
Diffstat (limited to 'ext/ncurses/ncurses.c')
-rw-r--r--ext/ncurses/ncurses.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/ncurses/ncurses.c b/ext/ncurses/ncurses.c
index 17bfce2c56..370c1b45bd 100644
--- a/ext/ncurses/ncurses.c
+++ b/ext/ncurses/ncurses.c
@@ -146,30 +146,6 @@ PHP_MINFO_FUNCTION(ncurses)
so that your module can be compiled into PHP, it exists only for testing
purposes. */
-/* Every user-visible function in PHP should document itself in the source */
-/* {{{ proto string confirm_ncurses_compiled(string arg)
- Return a string to confirm that the module is compiled in */
-PHP_FUNCTION(confirm_ncurses_compiled)
-{
- zval **arg;
- int len;
- char string[256];
-
- if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &arg) == FAILURE) {
- WRONG_PARAM_COUNT;
- }
-
- convert_to_string_ex(arg);
-
- len = sprintf(string, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "ncurses", Z_STRVAL_PP(arg));
- RETURN_STRINGL(string, len, 1);
-}
-/* }}} */
-/* The previous line is meant for vim and emacs, so it can correctly fold and
- unfold functions in source code. See the corresponding marks just before
- function definition, where the functions purpose is also documented. Please
- follow this convention for the convenience of others editing your code.
-*/
/*