summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-02-10 00:46:27 +0000
committertedu <tedu@openbsd.org>2015-02-10 00:46:27 +0000
commit966abb5f7e679ab6f5f4719800aa286b81ff67a9 (patch)
tree53e14e43e95bcb756984904880c988978ef32381 /lib/libc
parentAdd bind regress test (diff)
downloadwireguard-openbsd-966abb5f7e679ab6f5f4719800aa286b81ff67a9.tar.xz
wireguard-openbsd-966abb5f7e679ab6f5f4719800aa286b81ff67a9.zip
remove CMU gtime
Diffstat (limited to 'lib/libc')
-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??
*/