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

Diff for /src/usr.bin/hexdump/parse.c between version 1.19 and 1.20

version 1.19, 2016/02/09 02:13:12 version 1.20, 2016/03/15 04:19:13
Line 45 
Line 45 
   
 FU *endfu;                                      /* format at end-of-data */  FU *endfu;                                      /* format at end-of-data */
   
   static __dead void       badcnt(char *);
   static __dead void       badconv(char *);
   static __dead void       badfmt(const char *);
   static __dead void       badsfmt(void);
   static void              escape(char *);
   
 void  void
 addfile(char *name)  addfile(char *name)
 {  {
Line 456 
Line 462 
 #endif  #endif
 }  }
   
 void  static void
 escape(char *p1)  escape(char *p1)
 {  {
         char *p2;          char *p2;
Line 504 
Line 510 
         }          }
 }  }
   
 void  static __dead void
 badcnt(char *s)  badcnt(char *s)
 {  {
         errx(1, "%s: bad byte count", s);          errx(1, "%s: bad byte count", s);
 }  }
   
 void  static __dead void
 badsfmt(void)  badsfmt(void)
 {  {
         errx(1, "%%s: requires a precision or a byte count");          errx(1, "%%s: requires a precision or a byte count");
 }  }
   
 void  static __dead void
 badfmt(const char *fmt)  badfmt(const char *fmt)
 {  {
         errx(1, "\"%s\": bad format", fmt);          errx(1, "\"%s\": bad format", fmt);
 }  }
   
 void  static __dead void
 badconv(char *ch)  badconv(char *ch)
 {  {
         errx(1, "%%%s: bad conversion character", ch);          errx(1, "%%%s: bad conversion character", ch);

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