summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-07-05 10:14:34 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-07-05 10:14:34 +0000
commit8e992a6723e414140dd80a5ab394be9246bffe37 (patch)
tree137d01f065e3f19962eac018d25188df70a28cea
parente29923cf879be6e046865ccfe4c63c843b55e9b7 (diff)
downloadpw-darwin-8e992a6723e414140dd80a5ab394be9246bffe37.tar.gz
pw-darwin-8e992a6723e414140dd80a5ab394be9246bffe37.tar.zst
pw-darwin-8e992a6723e414140dd80a5ab394be9246bffe37.zip
Remove dead code
-rw-r--r--pw/psdate.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/pw/psdate.c b/pw/psdate.c
index 537861b..8e3a951 100644
--- a/pw/psdate.c
+++ b/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);