@@ -145,7 +145,7 @@ vi_paste_prev(EditLine *el, int c __attribute__((__unused__)))
145
145
*/
146
146
protected el_action_t
147
147
/*ARGSUSED*/
148
- vi_prev_big_word (EditLine * el , int c )
148
+ vi_prev_big_word (EditLine * el , int c __attribute__(( __unused__ )) )
149
149
{
150
150
151
151
if (el -> el_line .cursor == el -> el_line .buffer )
@@ -195,7 +195,7 @@ vi_prev_word(EditLine *el, int c __attribute__((__unused__)))
195
195
*/
196
196
protected el_action_t
197
197
/*ARGSUSED*/
198
- vi_next_big_word (EditLine * el , int c )
198
+ vi_next_big_word (EditLine * el , int c __attribute__(( __unused__ )) )
199
199
{
200
200
201
201
if (el -> el_line .cursor >= el -> el_line .lastchar - 1 )
@@ -462,7 +462,7 @@ vi_delete_meta(EditLine *el, int c __attribute__((__unused__)))
462
462
*/
463
463
protected el_action_t
464
464
/*ARGSUSED*/
465
- vi_end_big_word (EditLine * el , int c )
465
+ vi_end_big_word (EditLine * el , int c __attribute__(( __unused__ )) )
466
466
{
467
467
468
468
if (el -> el_line .cursor == el -> el_line .lastchar )
@@ -797,7 +797,7 @@ vi_repeat_prev_char(EditLine *el, int c __attribute__((__unused__)))
797
797
*/
798
798
protected el_action_t
799
799
/*ARGSUSED*/
800
- vi_match (EditLine * el , int c )
800
+ vi_match (EditLine * el , int c __attribute__(( __unused__ )) )
801
801
{
802
802
const char match_chars [] = "()[]{}" ;
803
803
char * cp ;
@@ -844,7 +844,7 @@ vi_match(EditLine *el, int c)
844
844
*/
845
845
protected el_action_t
846
846
/*ARGSUSED*/
847
- vi_undo_line (EditLine * el , int c )
847
+ vi_undo_line (EditLine * el , int c __attribute__(( __unused__ )) )
848
848
{
849
849
850
850
cv_undo (el );
@@ -858,7 +858,7 @@ vi_undo_line(EditLine *el, int c)
858
858
*/
859
859
protected el_action_t
860
860
/*ARGSUSED*/
861
- vi_to_column (EditLine * el , int c )
861
+ vi_to_column (EditLine * el , int c __attribute__(( __unused__ )) )
862
862
{
863
863
864
864
el -> el_line .cursor = el -> el_line .buffer ;
@@ -872,7 +872,7 @@ vi_to_column(EditLine *el, int c)
872
872
*/
873
873
protected el_action_t
874
874
/*ARGSUSED*/
875
- vi_yank_end (EditLine * el , int c )
875
+ vi_yank_end (EditLine * el , int c __attribute__(( __unused__ )) )
876
876
{
877
877
878
878
cv_yank (el , el -> el_line .cursor ,
@@ -886,7 +886,7 @@ vi_yank_end(EditLine *el, int c)
886
886
*/
887
887
protected el_action_t
888
888
/*ARGSUSED*/
889
- vi_yank (EditLine * el , int c )
889
+ vi_yank (EditLine * el , int c __attribute__(( __unused__ )) )
890
890
{
891
891
892
892
return cv_action (el , YANK );
@@ -898,7 +898,7 @@ vi_yank(EditLine *el, int c)
898
898
*/
899
899
protected el_action_t
900
900
/*ARGSUSED*/
901
- vi_comment_out (EditLine * el , int c )
901
+ vi_comment_out (EditLine * el , int c __attribute__(( __unused__ )) )
902
902
{
903
903
904
904
el -> el_line .cursor = el -> el_line .buffer ;
@@ -919,7 +919,8 @@ extern char *get_alias_text(const char *) __weak_reference(get_alias_text);
919
919
#endif
920
920
protected el_action_t
921
921
/*ARGSUSED*/
922
- vi_alias (EditLine * el , int c )
922
+ vi_alias (EditLine * el __attribute__((__unused__ )),
923
+ int c __attribute__((__unused__ )))
923
924
{
924
925
#if defined(__weak_reference ) && !defined(__FreeBSD__ )
925
926
char alias_name [3 ];
@@ -949,7 +950,7 @@ vi_alias(EditLine *el, int c)
949
950
*/
950
951
protected el_action_t
951
952
/*ARGSUSED*/
952
- vi_to_history_line (EditLine * el , int c )
953
+ vi_to_history_line (EditLine * el , int c __attribute__(( __unused__ )) )
953
954
{
954
955
int sv_event_no = el -> el_history .eventno ;
955
956
el_action_t rval ;
@@ -994,7 +995,7 @@ vi_to_history_line(EditLine *el, int c)
994
995
*/
995
996
protected el_action_t
996
997
/*ARGSUSED*/
997
- vi_histedit (EditLine * el , int c )
998
+ vi_histedit (EditLine * el , int c __attribute__(( __unused__ )) )
998
999
{
999
1000
int fd ;
1000
1001
pid_t pid ;
@@ -1050,7 +1051,7 @@ vi_histedit(EditLine *el, int c)
1050
1051
*/
1051
1052
protected el_action_t
1052
1053
/*ARGSUSED*/
1053
- vi_history_word (EditLine * el , int c )
1054
+ vi_history_word (EditLine * el , int c __attribute__(( __unused__ )) )
1054
1055
{
1055
1056
const char * wp = HIST_FIRST (el );
1056
1057
const char * wep , * wsp ;
@@ -1099,7 +1100,7 @@ vi_history_word(EditLine *el, int c)
1099
1100
*/
1100
1101
protected el_action_t
1101
1102
/*ARGSUSED*/
1102
- vi_redo (EditLine * el , int c )
1103
+ vi_redo (EditLine * el , int c __attribute__(( __unused__ )) )
1103
1104
{
1104
1105
c_redo_t * r = & el -> el_chared .c_redo ;
1105
1106
0 commit comments