Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bd53870d
Commit
bd53870d
authored
Apr 19, 2007
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF #1703270, add missing declaration in readline.c to avoid compiler warning.
parent
f64c9005
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Modules/readline.c
Modules/readline.c
+3
-1
No files found.
Modules/readline.c
View file @
bd53870d
...
...
@@ -34,6 +34,8 @@
#ifdef HAVE_RL_COMPLETION_MATCHES
#define completion_matches(x, y) \
rl_completion_matches((x), ((rl_compentry_func_t *)(y)))
#else
extern
char
**
completion_matches
(
char
*
,
rl_compentry_func_t
*
);
#endif
...
...
@@ -632,7 +634,7 @@ on_pre_input_hook(void)
/* C function to call the Python completer. */
static
char
*
on_completion
(
char
*
text
,
int
state
)
on_completion
(
c
onst
c
har
*
text
,
int
state
)
{
char
*
result
=
NULL
;
if
(
completer
!=
NULL
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment