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

Diff for /src/usr.bin/systat/swap.c between version 1.15 and 1.16

version 1.15, 2002/02/16 21:27:54 version 1.16, 2002/06/18 00:46:48
Line 67 
Line 67 
 static  struct swapent *swap_devices;  static  struct swapent *swap_devices;
   
 WINDOW *  WINDOW *
 openswap()  openswap(void)
 {  {
         return (subwin(stdscr, LINES-5-1, 0, 5, 0));          return (subwin(stdscr, LINES-5-1, 0, 5, 0));
 }  }
   
 void  void
 closeswap(w)  closeswap(WINDOW *w)
         WINDOW *w;  
 {  {
         if (w == NULL)          if (w == NULL)
                 return;                  return;
Line 85 
Line 84 
   
 /* do nothing */  /* do nothing */
 int  int
 initswap()  initswap(void)
 {  {
         return (1);          return (1);
 }  }
   
 void  void
 fetchswap()  fetchswap(void)
 {  {
         int     update_label = 0;          int     update_label = 0;
   
Line 119 
Line 118 
 }  }
   
 void  void
 labelswap()  labelswap(void)
 {  {
         char    *header;          char    *header;
         int     row;          int     row;
Line 140 
Line 139 
 }  }
   
 void  void
 showswap() {  showswap(void)
   {
         int     col, div, i, j, avail, used, xsize, free;          int     col, div, i, j, avail, used, xsize, free;
         struct  swapent *sep;          struct  swapent *sep;
         char    *p;          char    *p;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16