projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d08baa9
)
flex_complete looks like a private (but callback) function, so make it static
author
Neal Norwitz
<nnorwitz@gmail.com>
Fri, 21 Feb 2003 00:30:18 +0000
(
00:30
+0000)
committer
Neal Norwitz
<nnorwitz@gmail.com>
Fri, 21 Feb 2003 00:30:18 +0000
(
00:30
+0000)
Modules/readline.c
patch
|
blob
|
history
diff --git
a/Modules/readline.c
b/Modules/readline.c
index 56115e9eedabbc64aaf143e480030954fe19954a..b364b726628e354ed1dc46b863df1578313c290a 100644
(file)
--- a/
Modules/readline.c
+++ b/
Modules/readline.c
@@
-577,7
+577,7
@@
on_completion(char *text, int state)
/* A more flexible constructor that saves the "begidx" and "endidx"
* before calling the normal completer */
-char **
+
static
char **
flex_complete(char *text, int start, int end)
{
Py_XDECREF(begidx);