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

Diff for /src/usr.bin/systat/Attic/cmds.c between version 1.10 and 1.11

version 1.10, 2001/12/07 09:18:08 version 1.11, 2002/06/18 00:46:47
Line 50 
Line 50 
 #include "extern.h"  #include "extern.h"
   
 void  void
 command(cmd)  command(char *cmd)
         char *cmd;  
 {  {
         struct cmdtab *p;          struct cmdtab *p;
         char *cp;          char *cp;
Line 151 
Line 150 
 }  }
   
 struct cmdtab *  struct cmdtab *
 lookup(name)  lookup(char *name)
         char *name;  
 {  {
         char *p, *q;          char *p, *q;
         struct cmdtab *c, *found;          struct cmdtab *c, *found;
Line 180 
Line 178 
 }  }
   
 void  void
 status()  status(void)
 {  {
   
         error("Showing %s, refresh every %d seconds.",          error("Showing %s, refresh every %d seconds.",
Line 188 
Line 186 
 }  }
   
 int  int
 prefix(s1, s2)  prefix(char *s1, char *s2)
         char *s1, *s2;  
 {  {
   
         while (*s1 == *s2) {          while (*s1 == *s2) {

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