[BACK]Return to readline.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libedit

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libedit/readline.c between version 1.96 and 1.97

version 1.96, 2011/07/29 15:16:33 version 1.97, 2011/07/29 20:58:07
Line 47  __RCSID("$NetBSD$");
Line 47  __RCSID("$NetBSD$");
 #include <errno.h>  #include <errno.h>
 #include <fcntl.h>  #include <fcntl.h>
 #include <setjmp.h>  #include <setjmp.h>
 #ifdef HAVE_VIS_H  
 #include <vis.h>  #include <vis.h>
 #else  
 #include "vis.h"  
 #endif  
 #include "readline/readline.h"  #include "readline/readline.h"
 #include "el.h"  #include "el.h"
 #include "fcns.h"               /* for EL_NUM_FCNS */  #include "fcns.h"               /* for EL_NUM_FCNS */
Line 205  _move_history(int op)
Line 202  _move_history(int op)
  */   */
 static int  static int
 /*ARGSUSED*/  /*ARGSUSED*/
 _getc_function(EditLine *el, char *c)  _getc_function(EditLine *el __attribute__((__unused__)), char *c)
 {  {
         int i;          int i;
   
Line 1886  rl_insert_text(const char *text)
Line 1883  rl_insert_text(const char *text)
   
 /*ARGSUSED*/  /*ARGSUSED*/
 int  int
 rl_newline(int count, int c)  rl_newline(int count __attribute__((__unused__)),
       int c __attribute__((__unused__)))
 {  {
         /*          /*
          * Readline-4.0 appears to ignore the args.           * Readline-4.0 appears to ignore the args.
Line 1896  rl_newline(int count, int c)
Line 1894  rl_newline(int count, int c)
   
 /*ARGSUSED*/  /*ARGSUSED*/
 static unsigned char  static unsigned char
 rl_bind_wrapper(EditLine *el, unsigned char c)  rl_bind_wrapper(EditLine *el __attribute__((__unused__)), unsigned char c)
 {  {
         if (map[c] == NULL)          if (map[c] == NULL)
             return CC_ERROR;              return CC_ERROR;
Line 1991  rl_get_previous_history(int count, int k
Line 1989  rl_get_previous_history(int count, int k
   
 void  void
 /*ARGSUSED*/  /*ARGSUSED*/
 rl_prep_terminal(int meta_flag)  rl_prep_terminal(int meta_flag __attribute__((__unused__)))
 {  {
         el_set(e, EL_PREP_TERM, 1);          el_set(e, EL_PREP_TERM, 1);
 }  }
Line 2207  history_get_history_state(void)
Line 2205  history_get_history_state(void)
   
 int  int
 /*ARGSUSED*/  /*ARGSUSED*/
 rl_kill_text(int from, int to)  rl_kill_text(int from __attribute__((__unused__)),
       int to __attribute__((__unused__)))
 {  {
         return 0;          return 0;
 }  }
Line 2226  rl_get_keymap(void)
Line 2225  rl_get_keymap(void)
   
 void  void
 /*ARGSUSED*/  /*ARGSUSED*/
 rl_set_keymap(Keymap k)  rl_set_keymap(Keymap k __attribute__((__unused__)))
 {  {
 }  }
   
 int  int
 /*ARGSUSED*/  /*ARGSUSED*/
 rl_generic_bind(int type, const char * keyseq, const char * data, Keymap k)  rl_generic_bind(int type __attribute__((__unused__)),
       const char * keyseq __attribute__((__unused__)),
       const char * data __attribute__((__unused__)),
       Keymap k __attribute__((__unused__)))
 {  {
         return 0;          return 0;
 }  }
   
 int  int
 /*ARGSUSED*/  /*ARGSUSED*/
 rl_bind_key_in_map(int key, rl_command_func_t *fun, Keymap k)  rl_bind_key_in_map(int key __attribute__((__unused__)),
       rl_command_func_t *fun __attribute__((__unused__)),
       Keymap k __attribute__((__unused__)))
 {  {
         return 0;          return 0;
 }  }

Legend:
Removed from v.1.96  
changed lines
  Added in v.1.97

CVSweb <webmaster@jp.NetBSD.org>