diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 08:55:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 08:55:04 +0000 |
commit | b43985e28af194a24d7b5b9715f7fac71daf45df (patch) | |
tree | 0a006a5327fda96b206d8190d97536533bb59253 /lib | |
parent | a72a98a7fb25676f64a22e55a3485baf1be984af (diff) | |
download | coreutils-b43985e28af194a24d7b5b9715f7fac71daf45df.tar.xz |
(__P): Remove all uses. (It wasn't defined??)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sha.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -29,18 +29,18 @@ struct sha_ctx initialization function update the context for the next LEN bytes starting at BUFFER. It is necessary that LEN is a multiple of 64!!! */ -extern void sha_process_block __P ((const void *buffer, size_t len, - struct sha_ctx *ctx)); +extern void sha_process_block (const void *buffer, size_t len, + struct sha_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is NOT required that LEN is a multiple of 64. */ -extern void sha_process_bytes __P((const void *buffer, size_t len, - struct sha_ctx *ctx)); +extern void sha_process_bytes (const void *buffer, size_t len, + struct sha_ctx *ctx); /* Initialize structure containing state of computation. */ -extern void sha_init_ctx __P ((struct sha_ctx *ctx)); +extern void sha_init_ctx (struct sha_ctx *ctx); /* Process the remaining bytes in the buffer and put result from CTX in first 16 bytes following RESBUF. The result is always in little @@ -49,7 +49,7 @@ extern void sha_init_ctx __P ((struct sha_ctx *ctx)); IMPORTANT: On some systems it is required that RESBUF is correctly aligned for a 32 bits value. */ -extern void *sha_finish_ctx __P ((struct sha_ctx *ctx, void *resbuf)); +extern void *sha_finish_ctx (struct sha_ctx *ctx, void *resbuf); /* Put result from CTX in first 16 bytes following RESBUF. The result is @@ -58,18 +58,18 @@ extern void *sha_finish_ctx __P ((struct sha_ctx *ctx, void *resbuf)); IMPORTANT: On some systems it is required that RESBUF is correctly aligned for a 32 bits value. */ -extern void *sha_read_ctx __P ((const struct sha_ctx *ctx, void *resbuf)); +extern void *sha_read_ctx (const struct sha_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. */ -extern int sha_stream __P ((FILE *stream, void *resblock)); +extern int sha_stream (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. */ -extern void *sha_buffer __P ((const char *buffer, size_t len, void *resblock)); +extern void *sha_buffer (const char *buffer, size_t len, void *resblock); #endif |