X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fhuman.h;h=de54bf8e9983248b1bf12e623c0fd9d9e5de99ad;hb=e4d055afbfccd4b30e65e80e01503c24fe91c774;hp=b91958bec6365299bc89e36a9f37d94835e508a3;hpb=6c075911d8939f245a4ec73c9ba079becffc7c61;p=gnulib.git diff --git a/lib/human.h b/lib/human.h index b91958bec..de54bf8e9 100644 --- a/lib/human.h +++ b/lib/human.h @@ -7,14 +7,16 @@ # define LONGEST_HUMAN_READABLE ((sizeof (uintmax_t) + sizeof (int)) \ * CHAR_BIT / 3) -# ifndef __P -# if defined (__GNUC__) || (defined (__STDC__) && __STDC__) -# define __P(args) args +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args # else -# define __P(args) () -# endif /* GCC. */ -# endif /* Not __P. */ +# define PARAMS(Args) () +# 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_ */