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
7b9ddea8
Commit
7b9ddea8
authored
Feb 05, 2014
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #20374: Avoid compiler warnings when compiling readline with libedit.
parent
23686074
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Modules/readline.c
Modules/readline.c
+9
-0
No files found.
Modules/readline.c
View file @
7b9ddea8
...
@@ -773,15 +773,24 @@ on_hook(PyObject *func)
...
@@ -773,15 +773,24 @@ on_hook(PyObject *func)
return
result
;
return
result
;
}
}
static
int
static
int
#if defined(_RL_FUNCTION_TYPEDEF)
on_startup_hook
(
void
)
on_startup_hook
(
void
)
#else
on_startup_hook
()
#endif
{
{
return
on_hook
(
startup_hook
);
return
on_hook
(
startup_hook
);
}
}
#ifdef HAVE_RL_PRE_INPUT_HOOK
#ifdef HAVE_RL_PRE_INPUT_HOOK
static
int
static
int
#if defined(_RL_FUNCTION_TYPEDEF)
on_pre_input_hook
(
void
)
on_pre_input_hook
(
void
)
#else
on_pre_input_hook
()
#endif
{
{
return
on_hook
(
pre_input_hook
);
return
on_hook
(
pre_input_hook
);
}
}
...
...
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