/[mailutils]/mailutils/mail/mailline.c
ViewVC logotype

Diff of /mailutils/mail/mailline.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by gray, Fri Oct 26 14:04:13 2001 UTC revision 1.11 by gray, Mon Feb 18 08:34:29 2002 UTC
# Line 18  Line 18 
18  #include "mail.h"  #include "mail.h"
19    
20  static char **ml_command_completion __P((char *cmd, int start, int end));  static char **ml_command_completion __P((char *cmd, int start, int end));
21  static char *ml_command_generator __P((char *text, int state));  static char *ml_command_generator __P((const char *text, int state));
22    
23  static volatile int _interrupted;  static volatile int _interrupted;
24    
# Line 218  ml_command_completion (char *cmd, int st Line 218  ml_command_completion (char *cmd, int st
218  {  {
219    (void)end;    (void)end;
220    if (start == 0)    if (start == 0)
221      return completion_matches (cmd, ml_command_generator);      return rl_completion_matches (cmd, ml_command_generator);
222    return NULL;    return NULL;
223  }  }
224    
# Line 226  ml_command_completion (char *cmd, int st Line 226  ml_command_completion (char *cmd, int st
226   * more readline   * more readline
227   */   */
228  char *  char *
229  ml_command_generator (char *text, int state)  ml_command_generator (const char *text, int state)
230  {  {
231    static int i, len;    static int i, len;
232    const char *name;    const char *name;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26