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

Diff for /src/usr.bin/size/Attic/size.c between version 1.18 and 1.19

version 1.18, 2003/06/03 02:56:16 version 1.19, 2003/06/10 22:20:51
Line 71 
Line 71 
 void    usage(void);  void    usage(void);
   
 int  int
 main(argc, argv)  main(int argc, char *argv[])
         int argc;  
         char *argv[];  
 {  {
         int ch, eval;          int ch, eval;
   
Line 113 
Line 111 
  *      object files as input.   *      object files as input.
  */   */
 int  int
 process_file(count, fname)  process_file(int count, char *fname)
         int count;  
         char *fname;  
 {  {
         struct exec exec_head;          struct exec exec_head;
         FILE *fp;          FILE *fp;
Line 158 
Line 154 
  *      show symbols in the given archive file   *      show symbols in the given archive file
  */   */
 int  int
 show_archive(count, fname, fp)  show_archive(int count, char *fname, FILE *fp)
         int count;  
         char *fname;  
         FILE *fp;  
 {  {
         struct ar_hdr ar_head;          struct ar_hdr ar_head;
         struct exec exec_head;          struct exec exec_head;
Line 270 
Line 263 
 }  }
   
 int  int
 show_objfile(count, name, fp)  show_objfile(int count, char *name, FILE *fp)
         int count;  
         char *name;  
         FILE *fp;  
 {  {
         static int first = 1;          static int first = 1;
         struct exec head;          struct exec head;
Line 311 
Line 301 
 }  }
   
 void  void
 usage()  usage(void)
 {  {
         (void)fprintf(stderr, "usage: size [-tw] [file ...]\n");          (void)fprintf(stderr, "usage: size [-tw] [file ...]\n");
         exit(1);          exit(1);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19