summaryrefslogtreecommitdiff
path: root/lib/human.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-11-30 11:08:39 +0000
committerJim Meyering <jim@meyering.net>1997-11-30 11:08:39 +0000
commit5320bf5037397245ae335c83ef5d22aac5ff5907 (patch)
treee8a7cc79fbad5f26d4d19fda5cd07d0c84c4bdf5 /lib/human.h
parent79111711fe37f93989d7fe233a99293217aaea0c (diff)
downloadcoreutils-5320bf5037397245ae335c83ef5d22aac5ff5907.tar.xz
filter through cppi
Diffstat (limited to 'lib/human.h')
-rw-r--r--lib/human.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/human.h b/lib/human.h
index 65a25975f..b91958bec 100644
--- a/lib/human.h
+++ b/lib/human.h
@@ -4,15 +4,16 @@
/* A conservative bound on the maximum length of a human-readable string.
The output can be the product of the largest uintmax_t and the largest int,
so add their sizes before converting to a bound on digits. */
-#define LONGEST_HUMAN_READABLE ((sizeof (uintmax_t) + sizeof (int)) * CHAR_BIT / 3)
+# define LONGEST_HUMAN_READABLE ((sizeof (uintmax_t) + sizeof (int)) \
+ * CHAR_BIT / 3)
-#ifndef __P
-# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
-# define __P(args) args
-# else
-# define __P(args) ()
-# endif /* GCC. */
-#endif /* Not __P. */
+# ifndef __P
+# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
+# define __P(args) args
+# else
+# define __P(args) ()
+# endif /* GCC. */
+# endif /* Not __P. */
char *human_readable __P ((uintmax_t, char *, int, int, int));