Skip to content

Commit a6caaf8

Browse files
committed
Remove PHP constant READLINE_LIB
1 parent 308d4a1 commit a6caaf8

File tree

4 files changed

+0
-19
lines changed

4 files changed

+0
-19
lines changed

ext/readline/php_readline.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@
1717
#ifndef PHP_READLINE_H
1818
#define PHP_READLINE_H
1919

20-
#ifdef HAVE_LIBEDIT
21-
#define READLINE_LIB "libedit"
22-
#else
23-
#define READLINE_LIB ""
24-
#endif
25-
2620
#ifdef HAVE_LIBEDIT
2721

2822
extern zend_module_entry readline_module_entry;

ext/readline/readline.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ PHP_MINIT_FUNCTION(readline)
7474
ZVAL_UNDEF(&_prepped_callback);
7575
#endif
7676

77-
register_readline_symbols(module_number);
78-
7977
return PHP_MINIT(cli_readline)(INIT_FUNC_ARGS_PASSTHRU);
8078
}
8179

ext/readline/readline.stub.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
/** @generate-class-entries */
44

5-
/**
6-
* @var string
7-
* @cvalue READLINE_LIB
8-
*/
9-
const READLINE_LIB = UNKNOWN;
10-
115
function readline(?string $prompt = null): string|false {}
126

137
/** @param int|string|bool|null $value */

ext/readline/readline_arginfo.h

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)