summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utilfuns/zlib/untgz.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/utilfuns/zlib/untgz.c b/src/utilfuns/zlib/untgz.c
index 5c95a90..e3f8d47 100644
--- a/src/utilfuns/zlib/untgz.c
+++ b/src/utilfuns/zlib/untgz.c
@@ -86,7 +86,6 @@ enum { TGZ_EXTRACT = 0, TGZ_LIST };
void TGZnotfound OF((const char *));
int getoct OF((char *, int));
-char *strtime OF((time_t *));
int ExprMatch OF((char *,char *));
int makedir OF((char *));
@@ -141,18 +140,6 @@ int getoct(char *p,int width)
return result;
}
-char *strtime (time_t *t)
-{
- struct tm *local;
- static char result[32];
-
- local = localtime(t);
- sprintf(result,"%2d/%02d/%4d %02d:%02d:%02d",
- local->tm_mday, local->tm_mon+1, local->tm_year+1900,
- local->tm_hour, local->tm_min, local->tm_sec);
- return result;
-}
-
/* regular expression matching */