Commit a4c13122 authored by unknown's avatar unknown

Removed tens of annoying warnings about implicit declaration of memcpy(),...

Removed tens of annoying warnings about implicit declaration of memcpy(), strlen() and about unused variables. 


mysys/mf_casecnv.c:
  Removed annoying warnings about implicit declaration of memcpy(), strlen() and about unused variables
mysys/mf_qsort.c:
  Removed annoying warnings about implicit declaration of memcpy(), strlen() and about unused variables
readline/complete.c:
  Removed annoying warnings about implicit declaration of memcpy(), strlen() and about unused variables
readline/readline.c:
  Removed annoying warnings about implicit declaration of memcpy(), strlen() and about unused variables
readline/vi_mode.c:
  Removed annoying warnings about implicit declaration of memcpy(), strlen() and about unused variables
parent a1f5a109
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "mysys_priv.h" #include "mysys_priv.h"
#include <m_ctype.h> #include <m_ctype.h>
#include <m_string.h>
/* string to uppercase */ /* string to uppercase */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "mysys_priv.h" #include "mysys_priv.h"
#include "m_string.h"
/* We need to use qsort with 2 different compare functions */ /* We need to use qsort with 2 different compare functions */
#ifdef QSORT_EXTRA_CMP_ARGUMENT #ifdef QSORT_EXTRA_CMP_ARGUMENT
......
...@@ -291,14 +291,14 @@ rl_complete (ignore, invoking_key) ...@@ -291,14 +291,14 @@ rl_complete (ignore, invoking_key)
/* List the possible completions. See description of rl_complete (). */ /* List the possible completions. See description of rl_complete (). */
int int
rl_possible_completions (ignore, invoking_key) rl_possible_completions (ignore, invoking_key)
int ignore, invoking_key; int ignore __attribute__((unused)), invoking_key __attribute__((unused));
{ {
return (rl_complete_internal ('?')); return (rl_complete_internal ('?'));
} }
int int
rl_insert_completions (ignore, invoking_key) rl_insert_completions (ignore, invoking_key)
int ignore, invoking_key; int ignore __attribute__((unused)), invoking_key __attribute__((unused));
{ {
return (rl_complete_internal ('*')); return (rl_complete_internal ('*'));
} }
......
...@@ -914,7 +914,7 @@ rl_digit_loop () ...@@ -914,7 +914,7 @@ rl_digit_loop ()
/* Add the current digit to the argument in progress. */ /* Add the current digit to the argument in progress. */
int int
rl_digit_argument (ignore, key) rl_digit_argument (ignore, key)
int ignore, key; int ignore __attribute__((unused)), key;
{ {
rl_pending_input = key; rl_pending_input = key;
return (rl_digit_loop ()); return (rl_digit_loop ());
...@@ -944,7 +944,7 @@ _rl_init_argument () ...@@ -944,7 +944,7 @@ _rl_init_argument ()
dispatch on it. If the key is the abort character then abort. */ dispatch on it. If the key is the abort character then abort. */
int int
rl_universal_argument (count, key) rl_universal_argument (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
rl_numeric_arg *= 4; rl_numeric_arg *= 4;
return (rl_digit_loop ()); return (rl_digit_loop ());
...@@ -1147,7 +1147,7 @@ rl_backward (count, key) ...@@ -1147,7 +1147,7 @@ rl_backward (count, key)
/* Move to the beginning of the line. */ /* Move to the beginning of the line. */
int int
rl_beg_of_line (count, key) rl_beg_of_line (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
rl_point = 0; rl_point = 0;
return 0; return 0;
...@@ -1156,7 +1156,7 @@ rl_beg_of_line (count, key) ...@@ -1156,7 +1156,7 @@ rl_beg_of_line (count, key)
/* Move to the end of the line. */ /* Move to the end of the line. */
int int
rl_end_of_line (count, key) rl_end_of_line (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
rl_point = rl_end; rl_point = rl_end;
return 0; return 0;
...@@ -1253,7 +1253,7 @@ rl_backward_word (count, key) ...@@ -1253,7 +1253,7 @@ rl_backward_word (count, key)
/* Clear the current line. Numeric argument to C-l does this. */ /* Clear the current line. Numeric argument to C-l does this. */
int int
rl_refresh_line (ignore1, ignore2) rl_refresh_line (ignore1, ignore2)
int ignore1, ignore2; int ignore1 __attribute__((unused)), ignore2 __attribute__((unused));
{ {
int curr_line, nleft; int curr_line, nleft;
...@@ -1313,7 +1313,7 @@ rl_clear_screen (count, key) ...@@ -1313,7 +1313,7 @@ rl_clear_screen (count, key)
int int
rl_arrow_keys (count, c) rl_arrow_keys (count, c)
int count, c; int count, c __attribute__((unused));
{ {
int ch; int ch;
...@@ -1417,7 +1417,7 @@ rl_insert (count, c) ...@@ -1417,7 +1417,7 @@ rl_insert (count, c)
/* Insert the next typed character verbatim. */ /* Insert the next typed character verbatim. */
int int
rl_quoted_insert (count, key) rl_quoted_insert (count, key)
int count, key; int count, key __attribute__((unused));
{ {
int c; int c;
...@@ -1428,7 +1428,7 @@ rl_quoted_insert (count, key) ...@@ -1428,7 +1428,7 @@ rl_quoted_insert (count, key)
/* Insert a tab character. */ /* Insert a tab character. */
int int
rl_tab_insert (count, key) rl_tab_insert (count, key)
int count, key; int count, key __attribute__((unused));
{ {
return (rl_insert (count, '\t')); return (rl_insert (count, '\t'));
} }
...@@ -1438,7 +1438,7 @@ rl_tab_insert (count, key) ...@@ -1438,7 +1438,7 @@ rl_tab_insert (count, key)
meaning in the future. */ meaning in the future. */
int int
rl_newline (count, key) rl_newline (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
rl_done = 1; rl_done = 1;
...@@ -1466,7 +1466,7 @@ rl_newline (count, key) ...@@ -1466,7 +1466,7 @@ rl_newline (count, key)
is special cased. */ is special cased. */
int int
rl_do_lowercase_version (ignore1, ignore2) rl_do_lowercase_version (ignore1, ignore2)
int ignore1, ignore2; int ignore1 __attribute__((unused)), ignore2 __attribute__((unused));
{ {
return 0; return 0;
} }
...@@ -1553,7 +1553,7 @@ rl_rubout_or_delete (count, key) ...@@ -1553,7 +1553,7 @@ rl_rubout_or_delete (count, key)
/* Delete all spaces and tabs around point. */ /* Delete all spaces and tabs around point. */
int int
rl_delete_horizontal_space (count, ignore) rl_delete_horizontal_space (count, ignore)
int count, ignore; int count __attribute__((unused)), ignore __attribute__((unused));
{ {
int start = rl_point; int start = rl_point;
...@@ -1594,7 +1594,7 @@ rl_delete_or_show_completions (count, key) ...@@ -1594,7 +1594,7 @@ rl_delete_or_show_completions (count, key)
A K*rn shell style function. */ A K*rn shell style function. */
int int
rl_insert_comment (count, key) rl_insert_comment (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
rl_beg_of_line (1, key); rl_beg_of_line (1, key);
rl_insert_text (_rl_comment_begin ? _rl_comment_begin rl_insert_text (_rl_comment_begin ? _rl_comment_begin
...@@ -1620,7 +1620,7 @@ static int rl_change_case (); ...@@ -1620,7 +1620,7 @@ static int rl_change_case ();
/* Uppercase the word at point. */ /* Uppercase the word at point. */
int int
rl_upcase_word (count, key) rl_upcase_word (count, key)
int count, key; int count, key __attribute__((unused));
{ {
return (rl_change_case (count, UpCase)); return (rl_change_case (count, UpCase));
} }
...@@ -1628,7 +1628,7 @@ rl_upcase_word (count, key) ...@@ -1628,7 +1628,7 @@ rl_upcase_word (count, key)
/* Lowercase the word at point. */ /* Lowercase the word at point. */
int int
rl_downcase_word (count, key) rl_downcase_word (count, key)
int count, key; int count, key __attribute__((unused));
{ {
return (rl_change_case (count, DownCase)); return (rl_change_case (count, DownCase));
} }
...@@ -1636,7 +1636,7 @@ rl_downcase_word (count, key) ...@@ -1636,7 +1636,7 @@ rl_downcase_word (count, key)
/* Upcase the first letter, downcase the rest. */ /* Upcase the first letter, downcase the rest. */
int int
rl_capitalize_word (count, key) rl_capitalize_word (count, key)
int count, key; int count, key __attribute__((unused));
{ {
return (rl_change_case (count, CapCase)); return (rl_change_case (count, CapCase));
} }
...@@ -1760,7 +1760,7 @@ rl_transpose_words (count, key) ...@@ -1760,7 +1760,7 @@ rl_transpose_words (count, key)
then transpose the characters before point. */ then transpose the characters before point. */
int int
rl_transpose_chars (count, key) rl_transpose_chars (count, key)
int count, key; int count, key __attribute__((unused));
{ {
char dummy[2]; char dummy[2];
...@@ -1853,14 +1853,14 @@ _rl_char_search (count, fdir, bdir) ...@@ -1853,14 +1853,14 @@ _rl_char_search (count, fdir, bdir)
int int
rl_char_search (count, key) rl_char_search (count, key)
int count, key; int count, key __attribute__((unused));
{ {
return (_rl_char_search (count, FFIND, BFIND)); return (_rl_char_search (count, FFIND, BFIND));
} }
int int
rl_backward_char_search (count, key) rl_backward_char_search (count, key)
int count, key; int count, key __attribute__((unused));
{ {
return (_rl_char_search (count, BFIND, FFIND)); return (_rl_char_search (count, BFIND, FFIND));
} }
...@@ -1965,7 +1965,7 @@ maybe_save_line () ...@@ -1965,7 +1965,7 @@ maybe_save_line ()
/* Meta-< goes to the start of the history. */ /* Meta-< goes to the start of the history. */
int int
rl_beginning_of_history (count, key) rl_beginning_of_history (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
return (rl_get_previous_history (1 + where_history (), key)); return (rl_get_previous_history (1 + where_history (), key));
} }
...@@ -1973,7 +1973,7 @@ rl_beginning_of_history (count, key) ...@@ -1973,7 +1973,7 @@ rl_beginning_of_history (count, key)
/* Meta-> goes to the end of the history. (The current line). */ /* Meta-> goes to the end of the history. (The current line). */
int int
rl_end_of_history (count, key) rl_end_of_history (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
maybe_replace_line (); maybe_replace_line ();
using_history (); using_history ();
...@@ -2105,7 +2105,7 @@ _rl_set_mark_at_pos (position) ...@@ -2105,7 +2105,7 @@ _rl_set_mark_at_pos (position)
/* A bindable command to set the mark. */ /* A bindable command to set the mark. */
int int
rl_set_mark (count, key) rl_set_mark (count, key)
int count, key; int count, key __attribute__((unused));
{ {
return (_rl_set_mark_at_pos (rl_explicit_arg ? count : rl_point)); return (_rl_set_mark_at_pos (rl_explicit_arg ? count : rl_point));
} }
...@@ -2113,7 +2113,7 @@ rl_set_mark (count, key) ...@@ -2113,7 +2113,7 @@ rl_set_mark (count, key)
/* Exchange the position of mark and point. */ /* Exchange the position of mark and point. */
int int
rl_exchange_point_and_mark (count, key) rl_exchange_point_and_mark (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
if (rl_mark > rl_end) if (rl_mark > rl_end)
rl_mark = -1; rl_mark = -1;
...@@ -2137,7 +2137,7 @@ rl_exchange_point_and_mark (count, key) ...@@ -2137,7 +2137,7 @@ rl_exchange_point_and_mark (count, key)
/* How to toggle back and forth between editing modes. */ /* How to toggle back and forth between editing modes. */
int int
rl_vi_editing_mode (count, key) rl_vi_editing_mode (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
#if defined (VI_MODE) #if defined (VI_MODE)
rl_editing_mode = vi_mode; rl_editing_mode = vi_mode;
...@@ -2148,7 +2148,7 @@ rl_vi_editing_mode (count, key) ...@@ -2148,7 +2148,7 @@ rl_vi_editing_mode (count, key)
int int
rl_emacs_editing_mode (count, key) rl_emacs_editing_mode (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
rl_editing_mode = emacs_mode; rl_editing_mode = emacs_mode;
_rl_keymap = emacs_standard_keymap; _rl_keymap = emacs_standard_keymap;
......
...@@ -136,7 +136,7 @@ static int rl_digit_loop1 (); ...@@ -136,7 +136,7 @@ static int rl_digit_loop1 ();
void void
_rl_vi_initialize_line () _rl_vi_initialize_line ()
{ {
register int i; register uint i;
for (i = 0; i < sizeof (vi_mark_chars) / sizeof (int); i++) for (i = 0; i < sizeof (vi_mark_chars) / sizeof (int); i++)
vi_mark_chars[i] = -1; vi_mark_chars[i] = -1;
...@@ -183,7 +183,7 @@ _rl_vi_stuff_insert (count) ...@@ -183,7 +183,7 @@ _rl_vi_stuff_insert (count)
puts you back into insert mode. */ puts you back into insert mode. */
int int
rl_vi_redo (count, c) rl_vi_redo (count, c)
int count, c; int count, c __attribute__((unused));
{ {
if (!rl_explicit_arg) if (!rl_explicit_arg)
{ {
...@@ -218,8 +218,8 @@ rl_vi_undo (count, key) ...@@ -218,8 +218,8 @@ rl_vi_undo (count, key)
/* Yank the nth arg from the previous line into this line at point. */ /* Yank the nth arg from the previous line into this line at point. */
int int
rl_vi_yank_arg (count, key) rl_vi_yank_arg (count, key)
int count, key; int count, key __attribute__((unused));
{ {
/* Readline thinks that the first word on a line is the 0th, while vi /* Readline thinks that the first word on a line is the 0th, while vi
thinks the first word on a line is the 1st. Compensate. */ thinks the first word on a line is the 1st. Compensate. */
...@@ -300,7 +300,7 @@ rl_vi_search (count, key) ...@@ -300,7 +300,7 @@ rl_vi_search (count, key)
/* Completion, from vi's point of view. */ /* Completion, from vi's point of view. */
int int
rl_vi_complete (ignore, key) rl_vi_complete (ignore, key)
int ignore, key; int ignore __attribute__((unused)), key;
{ {
if ((rl_point < rl_end) && (!whitespace (rl_line_buffer[rl_point]))) if ((rl_point < rl_end) && (!whitespace (rl_line_buffer[rl_point])))
{ {
...@@ -329,7 +329,7 @@ rl_vi_complete (ignore, key) ...@@ -329,7 +329,7 @@ rl_vi_complete (ignore, key)
/* Tilde expansion for vi mode. */ /* Tilde expansion for vi mode. */
int int
rl_vi_tilde_expand (ignore, key) rl_vi_tilde_expand (ignore, key)
int ignore, key; int ignore __attribute__((unused)), key;
{ {
rl_tilde_expand (0, key); rl_tilde_expand (0, key);
_rl_vi_set_last (key, 1, rl_arg_sign); /* XXX */ _rl_vi_set_last (key, 1, rl_arg_sign); /* XXX */
...@@ -401,7 +401,7 @@ rl_vi_end_word (count, key) ...@@ -401,7 +401,7 @@ rl_vi_end_word (count, key)
/* Move forward a word the way that 'W' does. */ /* Move forward a word the way that 'W' does. */
int int
rl_vi_fWord (count, ignore) rl_vi_fWord (count, ignore)
int count, ignore; int count, ignore __attribute__((unused));
{ {
while (count-- && rl_point < (rl_end - 1)) while (count-- && rl_point < (rl_end - 1))
{ {
...@@ -418,7 +418,7 @@ rl_vi_fWord (count, ignore) ...@@ -418,7 +418,7 @@ rl_vi_fWord (count, ignore)
int int
rl_vi_bWord (count, ignore) rl_vi_bWord (count, ignore)
int count, ignore; int count, ignore __attribute__((unused));
{ {
while (count-- && rl_point > 0) while (count-- && rl_point > 0)
{ {
...@@ -442,7 +442,7 @@ rl_vi_bWord (count, ignore) ...@@ -442,7 +442,7 @@ rl_vi_bWord (count, ignore)
int int
rl_vi_eWord (count, ignore) rl_vi_eWord (count, ignore)
int count, ignore; int count, ignore __attribute__((unused));
{ {
while (count-- && rl_point < (rl_end - 1)) while (count-- && rl_point < (rl_end - 1))
{ {
...@@ -472,7 +472,7 @@ rl_vi_eWord (count, ignore) ...@@ -472,7 +472,7 @@ rl_vi_eWord (count, ignore)
int int
rl_vi_fword (count, ignore) rl_vi_fword (count, ignore)
int count, ignore; int count, ignore __attribute__((unused));
{ {
while (count-- && rl_point < (rl_end - 1)) while (count-- && rl_point < (rl_end - 1))
{ {
...@@ -498,7 +498,7 @@ rl_vi_fword (count, ignore) ...@@ -498,7 +498,7 @@ rl_vi_fword (count, ignore)
int int
rl_vi_bword (count, ignore) rl_vi_bword (count, ignore)
int count, ignore; int count, ignore __attribute__((unused));
{ {
while (count-- && rl_point > 0) while (count-- && rl_point > 0)
{ {
...@@ -537,7 +537,7 @@ rl_vi_bword (count, ignore) ...@@ -537,7 +537,7 @@ rl_vi_bword (count, ignore)
int int
rl_vi_eword (count, ignore) rl_vi_eword (count, ignore)
int count, ignore; int count, ignore __attribute__((unused));
{ {
while (count-- && rl_point < rl_end - 1) while (count-- && rl_point < rl_end - 1)
{ {
...@@ -562,7 +562,7 @@ rl_vi_eword (count, ignore) ...@@ -562,7 +562,7 @@ rl_vi_eword (count, ignore)
int int
rl_vi_insert_beg (count, key) rl_vi_insert_beg (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
rl_beg_of_line (1, key); rl_beg_of_line (1, key);
rl_vi_insertion_mode (1, key); rl_vi_insertion_mode (1, key);
...@@ -571,7 +571,7 @@ rl_vi_insert_beg (count, key) ...@@ -571,7 +571,7 @@ rl_vi_insert_beg (count, key)
int int
rl_vi_append_mode (count, key) rl_vi_append_mode (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
if (rl_point < rl_end) if (rl_point < rl_end)
rl_point++; rl_point++;
...@@ -581,7 +581,7 @@ rl_vi_append_mode (count, key) ...@@ -581,7 +581,7 @@ rl_vi_append_mode (count, key)
int int
rl_vi_append_eol (count, key) rl_vi_append_eol (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
rl_end_of_line (1, key); rl_end_of_line (1, key);
rl_vi_append_mode (1, key); rl_vi_append_mode (1, key);
...@@ -591,7 +591,7 @@ rl_vi_append_eol (count, key) ...@@ -591,7 +591,7 @@ rl_vi_append_eol (count, key)
/* What to do in the case of C-d. */ /* What to do in the case of C-d. */
int int
rl_vi_eof_maybe (count, c) rl_vi_eof_maybe (count, c)
int count, c; int count __attribute__((unused)), c __attribute__((unused));
{ {
return (rl_newline (1, '\n')); return (rl_newline (1, '\n'));
} }
...@@ -602,7 +602,7 @@ rl_vi_eof_maybe (count, c) ...@@ -602,7 +602,7 @@ rl_vi_eof_maybe (count, c)
switching keymaps. */ switching keymaps. */
int int
rl_vi_insertion_mode (count, key) rl_vi_insertion_mode (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
_rl_keymap = vi_insertion_keymap; _rl_keymap = vi_insertion_keymap;
_rl_vi_last_key_before_insert = key; _rl_vi_last_key_before_insert = key;
...@@ -664,7 +664,7 @@ _rl_vi_done_inserting () ...@@ -664,7 +664,7 @@ _rl_vi_done_inserting ()
int int
rl_vi_movement_mode (count, key) rl_vi_movement_mode (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
if (rl_point > 0) if (rl_point > 0)
rl_backward (1, key); rl_backward (1, key);
...@@ -686,7 +686,7 @@ rl_vi_arg_digit (count, c) ...@@ -686,7 +686,7 @@ rl_vi_arg_digit (count, c)
int int
rl_vi_change_case (count, ignore) rl_vi_change_case (count, ignore)
int count, ignore; int count, ignore __attribute__((unused));
{ {
char c = 0; char c = 0;
...@@ -724,7 +724,7 @@ rl_vi_change_case (count, ignore) ...@@ -724,7 +724,7 @@ rl_vi_change_case (count, ignore)
int int
rl_vi_put (count, key) rl_vi_put (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
if (!_rl_uppercase_p (key) && (rl_point + 1 <= rl_end)) if (!_rl_uppercase_p (key) && (rl_point + 1 <= rl_end))
rl_point++; rl_point++;
...@@ -881,7 +881,7 @@ rl_digit_loop1 () ...@@ -881,7 +881,7 @@ rl_digit_loop1 ()
int int
rl_vi_delete_to (count, key) rl_vi_delete_to (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
int c; int c;
...@@ -961,7 +961,7 @@ rl_vi_change_to (count, key) ...@@ -961,7 +961,7 @@ rl_vi_change_to (count, key)
int int
rl_vi_yank_to (count, key) rl_vi_yank_to (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
int c, save = rl_point; int c, save = rl_point;
...@@ -1014,7 +1014,7 @@ rl_vi_delete (count, key) ...@@ -1014,7 +1014,7 @@ rl_vi_delete (count, key)
int int
rl_vi_back_to_indent (count, key) rl_vi_back_to_indent (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
rl_beg_of_line (1, key); rl_beg_of_line (1, key);
while (rl_point < rl_end && whitespace (rl_line_buffer[rl_point])) while (rl_point < rl_end && whitespace (rl_line_buffer[rl_point]))
...@@ -1024,7 +1024,7 @@ rl_vi_back_to_indent (count, key) ...@@ -1024,7 +1024,7 @@ rl_vi_back_to_indent (count, key)
int int
rl_vi_first_print (count, key) rl_vi_first_print (count, key)
int count, key; int count __attribute__((unused)), key;
{ {
return (rl_vi_back_to_indent (1, key)); return (rl_vi_back_to_indent (1, key));
} }
...@@ -1071,7 +1071,7 @@ rl_vi_char_search (count, key) ...@@ -1071,7 +1071,7 @@ rl_vi_char_search (count, key)
/* Match brackets */ /* Match brackets */
int int
rl_vi_match (ignore, key) rl_vi_match (ignore, key)
int ignore, key; int ignore __attribute__((unused)), key;
{ {
int count = 1, brack, pos; int count = 1, brack, pos;
...@@ -1152,7 +1152,7 @@ rl_vi_bracktype (c) ...@@ -1152,7 +1152,7 @@ rl_vi_bracktype (c)
int int
rl_vi_change_char (count, key) rl_vi_change_char (count, key)
int count, key; int count, key __attribute__((unused));
{ {
int c; int c;
...@@ -1278,7 +1278,7 @@ rl_vi_overstrike_delete (count, key) ...@@ -1278,7 +1278,7 @@ rl_vi_overstrike_delete (count, key)
int int
rl_vi_replace (count, key) rl_vi_replace (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
int i; int i;
...@@ -1339,7 +1339,7 @@ rl_vi_possible_completions() ...@@ -1339,7 +1339,7 @@ rl_vi_possible_completions()
/* Functions to save and restore marks. */ /* Functions to save and restore marks. */
int int
rl_vi_set_mark (count, key) rl_vi_set_mark (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
int ch; int ch;
...@@ -1356,7 +1356,7 @@ rl_vi_set_mark (count, key) ...@@ -1356,7 +1356,7 @@ rl_vi_set_mark (count, key)
int int
rl_vi_goto_mark (count, key) rl_vi_goto_mark (count, key)
int count, key; int count __attribute__((unused)), key __attribute__((unused));
{ {
int ch; int ch;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment