summaryrefslogtreecommitdiff
path: root/lib/strtol.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-03-15 00:43:37 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-03-15 00:43:37 +0000
commite04879ec01e63d163237521896132f1c1ca57ba0 (patch)
treee0307063798a9ce0782b707ce2d9d8f1e8991aaa /lib/strtol.c
parentf77aebf866032522e6a2c8b0d36a587f6aeccbe4 (diff)
downloadgnulib-e04879ec01e63d163237521896132f1c1ca57ba0.tar.gz
Fix comments and indenting.
Diffstat (limited to 'lib/strtol.c')
-rw-r--r--lib/strtol.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/strtol.c b/lib/strtol.c
index e4b0a2f242..eed62c4a5c 100644
--- a/lib/strtol.c
+++ b/lib/strtol.c
@@ -131,18 +131,17 @@ extern int errno;
complement, ones complement, or signed magnitude representation,
respectively. Much GNU code assumes twos complement, but some
people like to be portable to all possible C hosts. */
-#define TYPE_TWOS_COMPLEMENT(t) ((t) ~ (t) 0 == (t) -1)
-#define TYPE_ONES_COMPLEMENT(t) ((t) ~ (t) 0 == 0)
-#define TYPE_SIGNED_MAGNITUDE(t) ((t) ~ (t) 0 < (t) -1)
+# define TYPE_TWOS_COMPLEMENT(t) ((t) ~ (t) 0 == (t) -1)
+# define TYPE_ONES_COMPLEMENT(t) ((t) ~ (t) 0 == 0)
+# define TYPE_SIGNED_MAGNITUDE(t) ((t) ~ (t) 0 < (t) -1)
/* True if the arithmetic type T is signed. */
# define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
/* The maximum and minimum values for the integer type T. These
- macros have undefined behavior if T is signed and has padding bits
- (i.e., bits that do not contribute to the value), or if T uses
- signed-magnitude representation. If this is a problem for you,
- please let us know how to fix it for your host. */
+ macros have undefined behavior if T is signed and has padding bits.
+ If this is a problem for you, please let us know how to fix it for
+ your host. */
# define TYPE_MINIMUM(t) \
((t) (! TYPE_SIGNED (t) \
? (t) 0 \