[BACK]Return to edit.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mail

Diff for /src/usr.bin/mail/edit.c between version 1.10 and 1.11

version 1.10, 2001/11/20 20:50:00 version 1.11, 2001/11/21 15:26:39
Line 36 
Line 36 
   
 #ifndef lint  #ifndef lint
 #if 0  #if 0
 static char sccsid[] = "@(#)edit.c      8.1 (Berkeley) 6/6/93";  static const char sccsid[] = "@(#)edit.c        8.1 (Berkeley) 6/6/93";
 #else  #else
 static char rcsid[] = "$OpenBSD$";  static const char rcsid[] = "$OpenBSD$";
 #endif  #endif
 #endif /* not lint */  #endif /* not lint */
   
Line 56 
Line 56 
  * Edit a message list.   * Edit a message list.
  */   */
 int  int
 editor(v)  editor(void *v)
         void *v;  
 {  {
         int *msgvec = v;          int *msgvec = v;
   
Line 68 
Line 67 
  * Invoke the visual editor on a message list.   * Invoke the visual editor on a message list.
  */   */
 int  int
 visual(v)  visual(void *v)
         void *v;  
 {  {
         int *msgvec = v;          int *msgvec = v;
   
Line 82 
Line 80 
  * We get the editor from the stuff above.   * We get the editor from the stuff above.
  */   */
 int  int
 edit1(msgvec, type)  edit1(int *msgvec, int type)
         int *msgvec;  
         int type;  
 {  {
         int c, i;          int c, i;
         FILE *fp;          FILE *fp;
Line 147 
Line 143 
  * "Type" is 'e' for _PATH_EX, 'v' for _PATH_VI.   * "Type" is 'e' for _PATH_EX, 'v' for _PATH_VI.
  */   */
 FILE *  FILE *
 run_editor(fp, size, type, readonly)  run_editor(FILE *fp, off_t size, int type, int readonly)
         FILE *fp;  
         off_t size;  
         int type, readonly;  
 {  {
         FILE *nf = NULL;          FILE *nf = NULL;
         int t;          int t;

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