diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-05 10:14:34 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-05 10:14:34 +0000 |
commit | 391ad8ceb8ccd7c25a3f25e91894e37582d6ac43 (patch) | |
tree | 4dc5a581318f56ecb57d674cb17d89437ec31577 /usr.sbin/pw/psdate.c | |
parent | f6eae381a5a60996f7abb1084805e6a62afe11bb (diff) |
Remove dead code
Notes
Notes:
svn path=/head/; revision=285158
Diffstat (limited to 'usr.sbin/pw/psdate.c')
-rw-r--r-- | usr.sbin/pw/psdate.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/usr.sbin/pw/psdate.c b/usr.sbin/pw/psdate.c index 537861bd9770..8e3a951ef85b 100644 --- a/usr.sbin/pw/psdate.c +++ b/usr.sbin/pw/psdate.c @@ -40,21 +40,6 @@ static const char rcsid[] = static int -a2i(char const ** str) -{ - int i = 0; - char const *s = *str; - - if (isdigit((unsigned char)*s)) { - i = atoi(s); - while (isdigit((unsigned char)*s)) - ++s; - *str = s; - } - return i; -} - -static int numerics(char const * str) { int rc = isdigit((unsigned char)*str); |