char *buffer;
};
-#undef __P
+#undef PARAMS
#if defined (__STDC__) && __STDC__
-#define __P(x) x
+# define PARAMS(x) x
#else
-#define __P(x) ()
+# define PARAMS(x) ()
#endif
/* Initialize linebuffer LINEBUFFER for use. */
-void initbuffer __P ((struct linebuffer *linebuffer));
+void initbuffer PARAMS ((struct linebuffer *linebuffer));
/* Read an arbitrarily long line of text from STREAM into LINEBUFFER.
Remove any newline. Does not null terminate.
Return LINEBUFFER, except at end of file return 0. */
-struct linebuffer *readline __P ((struct linebuffer *linebuffer, FILE *stream));
+struct linebuffer *readline PARAMS ((struct linebuffer *linebuffer,
+ FILE *stream));
/* Free linebuffer LINEBUFFER and its data, all allocated with malloc. */
-void freebuffer __P ((struct linebuffer *));
+void freebuffer PARAMS ((struct linebuffer *));
-#undef __P
+#undef PARAMS
#if defined (__STDC__) && __STDC__
-# define __P(Args) Args
+# define PARAMS(Args) Args
#else
-# define __P(Args) ()
+# define PARAMS(Args) ()
#endif
void
- parse_long_options __P ((int _argc, char **_argv, const char *_command_name,
- const char *_package,
- const char *_version, void (*_usage) (int)));
+ parse_long_options PARAMS ((int _argc, char **_argv,
+ const char *_command_name,
+ const char *_package,
+ const char *_version, void (*_usage) (int)));
# endif
#endif
-#undef __P
+#undef PARAMS
#if defined (__STDC__) && __STDC__
-#define __P(x) x
+# define PARAMS(x) x
#else
-#define __P(x) ()
+# define PARAMS(x) ()
#endif
/* Structure to save state of computation between the single steps. */
/* Initialize structure containing state of computation.
(RFC 1321, 3.3: Step 3) */
-void md5_init_ctx __P ((struct md5_ctx *ctx));
+void md5_init_ctx PARAMS ((struct md5_ctx *ctx));
/* Starting with the result of former calls of this function (or the
initialzation function update the context for the next LEN bytes
starting at BUFFER.
It is necessary that LEN is a multiple of 64!!! */
-void md5_process_block __P ((const void *buffer, size_t len,
- struct md5_ctx *ctx));
+void md5_process_block PARAMS ((const void *buffer, size_t len,
+ struct md5_ctx *ctx));
/* Put result from CTX in first 16 bytes following RESBUF. The result is
always in little endian byte order, so that a byte-wise output yields
to the wanted ASCII representation of the message digest. */
-void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf));
+void *md5_read_ctx PARAMS ((const struct md5_ctx *ctx, void *resbuf));
/* Compute MD5 message digest for bytes read from STREAM. The
resulting message digest number will be written into the 16 bytes
beginning at RESBLOCK. */
-int md5_stream __P ((FILE *stream, void *resblock));
+int md5_stream PARAMS ((FILE *stream, void *resblock));
/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
result is always in little endian byte order, so that a byte-wise
output yields to the wanted ASCII representation of the message
digest. */
-void *md5_buffer __P ((const char *buffer, size_t len, void *resblock));
+void *md5_buffer PARAMS ((const char *buffer, size_t len, void *resblock));
#endif
-#undef __P
+#undef PARAMS
#if defined (__STDC__) && __STDC__
-# define __P(args) args
+# define PARAMS(args) args
#else
-# define __P(args) ()
+# define PARAMS(args) ()
#endif
int
- memcasecmp __P((const void *vs1, const void *vs2, size_t n));
+ memcasecmp PARAMS ((const void *vs1, const void *vs2, size_t n));
\f
/* External user entry point. */
-#undef __P
+#undef PARAMS
#if defined (__STDC__) && __STDC__
-# define __P(args) args
+# define PARAMS(args) args
#else
-# define __P(args) ()
+# define PARAMS(args) ()
#endif
/* Prototype. */
-INT strtol __P ((const STRING_TYPE *nptr, STRING_TYPE **endptr,
- int base));
+INT strtol PARAMS ((const STRING_TYPE *nptr, STRING_TYPE **endptr,
+ int base));
INT
#ifndef XSTRTOD_H
# define XSTRTOD_H 1
-# ifndef __P
-# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
-# define __P(Args) Args
-# else
-# define __P(Args) ()
-# endif
-# endif
+#undef PARAMS
+#if defined (__STDC__) && __STDC__
+# define PARAMS(Args) Args
+#else
+# define PARAMS(Args) ()
+#endif
int
- xstrtod __P ((const char *str, const char **ptr, double *result));
+ xstrtod PARAMS ((const char *str, const char **ptr, double *result));
#endif /* not XSTRTOD_H */
# define __ZLONG_MAX LONG_MAX
#endif
-#undef __P
+#undef PARAMS
#if defined (__STDC__) && __STDC__
-#define __P(x) x
+# define PARAMS(x) x
#else
-#define __P(x) ()
+# define PARAMS(x) ()
#endif
enum strtol_error
typedef enum strtol_error strtol_error;
strtol_error
- __xstrtol __P ((const char *s, char **ptr, int base,
- __unsigned long int *val, const char *valid_suffixes));
+ __xstrtol PARAMS ((const char *s, char **ptr, int base,
+ __unsigned long int *val, const char *valid_suffixes));
#define _STRTOL_ERROR(exit_code, str, argument_type_string, err) \
do \