diff options
Diffstat (limited to 'tools/plink/time.c')
-rw-r--r-- | tools/plink/time.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/plink/time.c b/tools/plink/time.c deleted file mode 100644 index d873d44cc..000000000 --- a/tools/plink/time.c +++ /dev/null @@ -1,16 +0,0 @@ -/*
- * Portable implementation of ltime() for any ISO-C platform where
- * time_t behaves. (In practice, we've found that platforms such as
- * Windows and Mac have needed their own specialised implementations.)
- */
-
-#include <time.h>
-#include <assert.h>
-
-struct tm ltime(void)
-{
- time_t t;
- time(&t);
- assert (t != ((time_t)-1));
- return *localtime(&t);
-}
|