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

Diff for /src/usr.bin/du/du.c between version 1.13 and 1.14

version 1.13, 2003/06/10 22:20:46 version 1.14, 2003/07/02 21:04:09
Line 60 
Line 60 
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
   
   typedef enum { NONE = 0, KILO, MEGA, GIGA, TERA, PETA /* , EXA */ } unit_t;
   
 int      linkchk(FTSENT *);  int      linkchk(FTSENT *);
 void     prtout(quad_t, char *, int);  void     prtout(quad_t, char *, int);
 void     usage(void);  void     usage(void);
   unit_t   unit_adjust(double *);
   
 int  int
 main(int argc, char *argv[])  main(int argc, char *argv[])
Line 250 
Line 253 
  * "human-readable" output: use 3 digits max.--put unit suffixes at   * "human-readable" output: use 3 digits max.--put unit suffixes at
  * the end.  Makes output compact and easy-to-read.   * the end.  Makes output compact and easy-to-read.
  */   */
   
 typedef enum { NONE = 0, KILO, MEGA, GIGA, TERA, PETA /* , EXA */ } unit_t;  
   
 unit_t  unit_t
 unit_adjust(double *val)  unit_adjust(double *val)

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14