Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2c8223f

Browse files
author
Thomas G. Lockhart
committed
Fix up comments where had been uglified by the automated reformatter.
1 parent 0b96c6f commit 2c8223f

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

src/include/utils/nabstime.h

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: nabstime.h,v 1.23 2000/02/16 17:26:26 thomas Exp $
10+
* $Id: nabstime.h,v 1.24 2000/03/27 17:07:48 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -52,14 +52,10 @@ typedef TimeIntervalData *TimeInterval;
5252
* so redefine them explicitly using these bit patterns. - tgl 97/02/24
5353
*/
5454
#define EPOCH_ABSTIME ((AbsoluteTime) 0)
55-
#define INVALID_ABSTIME ((AbsoluteTime) 0x7FFFFFFE) /* 2147483647 == 2^31 -
56-
* 1 */
57-
#define CURRENT_ABSTIME ((AbsoluteTime) 0x7FFFFFFD) /* 2147483646 == 2^31 -
58-
* 2 */
59-
#define NOEND_ABSTIME ((AbsoluteTime) 0x7FFFFFFC) /* 2147483645 == 2^31 -
60-
* 3 */
61-
#define BIG_ABSTIME ((AbsoluteTime) 0x7FFFFFFB) /* 2147483644 == 2^31 -
62-
* 4 */
55+
#define INVALID_ABSTIME ((AbsoluteTime) 0x7FFFFFFE) /* 2147483647 (2^31 - 1) */
56+
#define CURRENT_ABSTIME ((AbsoluteTime) 0x7FFFFFFD) /* 2147483646 (2^31 - 2) */
57+
#define NOEND_ABSTIME ((AbsoluteTime) 0x7FFFFFFC) /* 2147483645 (2^31 - 3) */
58+
#define BIG_ABSTIME ((AbsoluteTime) 0x7FFFFFFB) /* 2147483644 (2^31 - 4) */
6359

6460
#if defined(_AIX)
6561
/*
@@ -70,11 +66,10 @@ typedef TimeIntervalData *TimeInterval;
7066
*/
7167
#define NOSTART_ABSTIME ((AbsoluteTime) INT_MIN)
7268
#else
73-
#define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001) /* -2147483647 == - 2^31 */
69+
#define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001) /* -2147483647 (- 2^31) */
7470
#endif /* _AIX */
7571

76-
#define INVALID_RELTIME ((RelativeTime) 0x7FFFFFFE) /* 2147483647 == 2^31 -
77-
* 1 */
72+
#define INVALID_RELTIME ((RelativeTime) 0x7FFFFFFE) /* 2147483647 (2^31 - 1) */
7873

7974
#define AbsoluteTimeIsValid(time) \
8075
((bool) ((time) != INVALID_ABSTIME))

0 commit comments

Comments
 (0)