summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-02-10 00:46:28 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-02-10 00:46:28 +0000
commit99fd7a27030f7b23835793be685b285060d21036 (patch)
tree28fc64114edc8b8829a914ae06a78ea78ab36894
parentad3891f356f90783c24527dd7dc8d63a52457207 (diff)
remove CMU gtime
-rw-r--r--lib/libc/time/localtime.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/libc/time/localtime.c b/lib/libc/time/localtime.c
index d31a4d73c2f..4fbb8c2fb12 100644
--- a/lib/libc/time/localtime.c
+++ b/lib/libc/time/localtime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: localtime.c,v 1.46 2015/02/09 14:58:08 tedu Exp $ */
+/* $OpenBSD: localtime.c,v 1.47 2015/02/10 00:46:27 tedu Exp $ */
/*
** This file is in the public domain, so clarified as of
** 1996-06-05 by Arthur David Olson.
@@ -1975,26 +1975,6 @@ const long offset;
#endif /* defined STD_INSPIRED */
-#ifdef CMUCS
-
-/*
-** The following is supplied for compatibility with
-** previous versions of the CMUCS runtime library.
-*/
-
-long
-gtime(tmp)
-struct tm * const tmp;
-{
- const time_t t = mktime(tmp);
-
- if (t == WRONG)
- return -1;
- return t;
-}
-
-#endif /* defined CMUCS */
-
/*
** XXX--is the below the right way to conditionalize??
*/