projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace strcasecmp and strncasecmp.
[gnulib.git]
/
lib
/
human.h
diff --git
a/lib/human.h
b/lib/human.h
index
65a2597
..
de54bf8
100644
(file)
--- a/
lib/human.h
+++ b/
lib/human.h
@@
-4,16
+4,19
@@
/* 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. */
/* 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) a
rgs
-# else
-#
define __P(a
rgs) ()
-#
endif /* GCC. */
-#
endif /* Not __P. */
+#
ifndef PARAMS
+#
if defined PROTOTYPES || (defined __STDC__
&& __STDC__)
+#
define PARAMS(Args) A
rgs
+#
else
+#
define PARAMS(A
rgs) ()
+#
endif
+#
endif
-char *human_readable __P ((uintmax_t, char *, int, int, int));
+char *human_readable PARAMS ((uintmax_t, char *, int, int));
+
+void human_block_size PARAMS ((char const *, int, int *));
#endif /* HUMAN_H_ */
#endif /* HUMAN_H_ */