summaryrefslogtreecommitdiffstats
path: root/lib/libc/time/private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/time/private.h')
-rw-r--r--lib/libc/time/private.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libc/time/private.h b/lib/libc/time/private.h
index 647a998ab41..3c7aaec6eee 100644
--- a/lib/libc/time/private.h
+++ b/lib/libc/time/private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: private.h,v 1.33 2015/02/09 13:46:22 tedu Exp $ */
+/* $OpenBSD: private.h,v 1.34 2015/02/09 14:00:03 tedu Exp $ */
#ifndef PRIVATE_H
#define PRIVATE_H
@@ -70,15 +70,6 @@ const char * scheck(const char * string, const char * format);
#define TYPE_SIGNED(type) (((type) -1) < 0)
#endif /* !defined TYPE_SIGNED */
-/*
-** Since the definition of TYPE_INTEGRAL contains floating point numbers,
-** it cannot be used in preprocessor directives.
-*/
-
-#ifndef TYPE_INTEGRAL
-#define TYPE_INTEGRAL(type) (((type) 0.5) != 0.5)
-#endif /* !defined TYPE_INTEGRAL */
-
#ifndef INT_STRLEN_MAXIMUM
/*
** 302 / 1000 is log10(2.0) rounded up.