]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
Remove duplicated lines in contrib/tzcode/stdtime/private.h
authorTim McNamara <code@timmcnamara.co.nz>
Thu, 7 Jun 2018 09:51:38 +0000 (21:51 +1200)
committerWarner Losh <imp@FreeBSD.org>
Mon, 31 May 2021 22:03:37 +0000 (16:03 -0600)
Note by imp: this is clearly a mis-merge from the vendor branch which
doesn't have this stutter in it.

Reviewed by: imp@,ngie@
Pull Request: https://github.com/freebsd/freebsd-src/pull/154

contrib/tzcode/stdtime/private.h

index ab1397f31da21ca49adfc351a79e769389c36bfa..8f8f725f819326e491b03257ee3c08dfe01b287b 100644 (file)
@@ -230,15 +230,6 @@ const char *       scheck(const char * string, const char * format);
 #define        TYPE_INTEGRAL(type) (((type) 0.5) != 0.5)
 #endif /* !defined TYPE_INTEGRAL */
 
-/*
-** 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.