chpasswd: fixes and code shrink

update_passwd                                        732     734      +2
chpasswd_main                                        318     292     -26
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-26)             Total: -24 bytes
   text    data     bss     dec     hex filename
 781564    1168   11900  794632   c2008 busybox_old
 781548    1168   11900  794616   c1ff8 busybox_unstripped
This commit is contained in:
Denis Vlasenko
2007-07-21 13:25:28 +00:00
parent 1ec5eaecba
commit 557fb713e0
5 changed files with 36 additions and 39 deletions

View File

@@ -125,7 +125,7 @@ extern unsigned pmatch(const char *, const char *, unsigned);
/*** str.h ***/
extern unsigned str_chr(const char *,int); /* never returns NULL */
//extern unsigned str_chr(const char *,int); /* never returns NULL */
#define str_diff(s,t) strcmp((s), (t))
#define str_equal(s,t) (!strcmp((s), (t)))