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

Diff for /src/usr.bin/mail/cmd1.c between version 1.1 and 1.2

version 1.1, 1995/10/18 08:45:38 version 1.2, 1996/03/27 19:32:30
Line 1 
Line 1 
   /*      $OpenBSD$       */
   
 /*-  /*-
  * Copyright (c) 1980, 1993   * Copyright (c) 1980, 1993
  *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
Line 33 
Line 35 
   
 #ifndef lint  #ifndef lint
 static char sccsid[] = "from: @(#)cmd1.c        8.1 (Berkeley) 6/6/93";  static char sccsid[] = "from: @(#)cmd1.c        8.1 (Berkeley) 6/6/93";
 static char rcsid[] = "$Id$";  static char rcsid[] = "$OpenBSD$";
 #endif /* not lint */  #endif /* not lint */
   
 #include "rcv.h"  #include "rcv.h"
Line 224 
Line 226 
 int  int
 pcmdlist()  pcmdlist()
 {  {
         register struct cmd *cp;          extern const struct cmd cmdtab[];
           register const struct cmd *cp;
         register int cc;          register int cc;
         extern struct cmd cmdtab[];  
   
         printf("Commands are:\n");          printf("Commands are:\n");
         for (cc = 0, cp = cmdtab; cp->c_name != NULL; cp++) {          for (cc = 0, cp = cmdtab; cp->c_name != NULL; cp++) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2