Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
666dd7ba
Commit
666dd7ba
authored
22 years ago
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
discard warnings in readline 4.3
parent
953f6c51
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
readline/display.c
readline/display.c
+2
-2
readline/mbutil.c
readline/mbutil.c
+2
-2
readline/rlmbutil.h
readline/rlmbutil.h
+2
-2
No files found.
readline/display.c
View file @
666dd7ba
...
@@ -70,7 +70,7 @@ static void insert_some_chars PARAMS((char *, int, int));
...
@@ -70,7 +70,7 @@ static void insert_some_chars PARAMS((char *, int, int));
static
void
cr
PARAMS
((
void
));
static
void
cr
PARAMS
((
void
));
#if defined (HANDLE_MULTIBYTE)
#if defined (HANDLE_MULTIBYTE)
static
int
_rl_col_width
PARAMS
((
char
*
,
int
,
int
));
static
int
_rl_col_width
PARAMS
((
c
onst
c
har
*
,
int
,
int
));
static
int
*
_rl_wrapped_line
;
static
int
*
_rl_wrapped_line
;
#else
#else
# define _rl_col_width(l, s, e) (((e) <= (s)) ? 0 : (e) - (s))
# define _rl_col_width(l, s, e) (((e) <= (s)) ? 0 : (e) - (s))
...
@@ -2118,7 +2118,7 @@ _rl_current_display_line ()
...
@@ -2118,7 +2118,7 @@ _rl_current_display_line ()
scan from the beginning of the string to take the state into account. */
scan from the beginning of the string to take the state into account. */
static
int
static
int
_rl_col_width
(
str
,
start
,
end
)
_rl_col_width
(
str
,
start
,
end
)
char
*
str
;
c
onst
c
har
*
str
;
int
start
,
end
;
int
start
,
end
;
{
{
wchar_t
wc
;
wchar_t
wc
;
...
...
This diff is collapsed.
Click to expand it.
readline/mbutil.c
View file @
666dd7ba
...
@@ -196,7 +196,7 @@ _rl_find_prev_mbchar_internal (string, seed, find_non_zero)
...
@@ -196,7 +196,7 @@ _rl_find_prev_mbchar_internal (string, seed, find_non_zero)
if it couldn't parse a complete multibyte character. */
if it couldn't parse a complete multibyte character. */
int
int
_rl_get_char_len
(
src
,
ps
)
_rl_get_char_len
(
src
,
ps
)
char
*
src
;
c
onst
c
har
*
src
;
mbstate_t
*
ps
;
mbstate_t
*
ps
;
{
{
size_t
tmp
;
size_t
tmp
;
...
@@ -251,7 +251,7 @@ _rl_compare_chars (buf1, pos1, ps1, buf2, pos2, ps2)
...
@@ -251,7 +251,7 @@ _rl_compare_chars (buf1, pos1, ps1, buf2, pos2, ps2)
it returns -1 */
it returns -1 */
int
int
_rl_adjust_point
(
string
,
point
,
ps
)
_rl_adjust_point
(
string
,
point
,
ps
)
char
*
string
;
c
onst
c
har
*
string
;
int
point
;
int
point
;
mbstate_t
*
ps
;
mbstate_t
*
ps
;
{
{
...
...
This diff is collapsed.
Click to expand it.
readline/rlmbutil.h
View file @
666dd7ba
...
@@ -82,8 +82,8 @@ extern int _rl_find_next_mbchar PARAMS((char *, int, int, int));
...
@@ -82,8 +82,8 @@ extern int _rl_find_next_mbchar PARAMS((char *, int, int, int));
#ifdef HANDLE_MULTIBYTE
#ifdef HANDLE_MULTIBYTE
extern
int
_rl_compare_chars
PARAMS
((
char
*
,
int
,
mbstate_t
*
,
char
*
,
int
,
mbstate_t
*
));
extern
int
_rl_compare_chars
PARAMS
((
char
*
,
int
,
mbstate_t
*
,
char
*
,
int
,
mbstate_t
*
));
extern
int
_rl_get_char_len
PARAMS
((
char
*
,
mbstate_t
*
));
extern
int
_rl_get_char_len
PARAMS
((
c
onst
c
har
*
,
mbstate_t
*
));
extern
int
_rl_adjust_point
PARAMS
((
char
*
,
int
,
mbstate_t
*
));
extern
int
_rl_adjust_point
PARAMS
((
c
onst
c
har
*
,
int
,
mbstate_t
*
));
extern
int
_rl_read_mbchar
PARAMS
((
char
*
,
int
));
extern
int
_rl_read_mbchar
PARAMS
((
char
*
,
int
));
extern
int
_rl_read_mbstring
PARAMS
((
int
,
char
*
,
int
));
extern
int
_rl_read_mbstring
PARAMS
((
int
,
char
*
,
int
));
...
...
This diff is collapsed.
Click to expand it.
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