From 29fe2774e4b657b234b4462fff91c3ba006b7a52 Mon Sep 17 00:00:00 2001 From: Hans-Joerg Hoexer Date: Sat, 26 Jun 2004 05:05:13 +0000 Subject: Ansification of defalte-/lsz-stubs. ok jfb@ --- sys/crypto/xform.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'sys/crypto/xform.c') diff --git a/sys/crypto/xform.c b/sys/crypto/xform.c index a07790faf9a..a4f3be39bf6 100644 --- a/sys/crypto/xform.c +++ b/sys/crypto/xform.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xform.c,v 1.25 2004/05/07 14:42:26 millert Exp $ */ +/* $OpenBSD: xform.c,v 1.26 2004/06/26 05:05:12 hshoexer Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -512,28 +512,19 @@ SHA512_Update_int(void *ctx, u_int8_t *buf, u_int16_t len) */ u_int32_t -deflate_compress(data, size, out) - u_int8_t *data; - u_int32_t size; - u_int8_t **out; +deflate_compress(u_int8_t *data, u_int32_t size, u_int8_t **out) { return deflate_global(data, size, 0, out); } u_int32_t -deflate_decompress(data, size, out) - u_int8_t *data; - u_int32_t size; - u_int8_t **out; +deflate_decompress(u_int8_t *data, u_int32_t size, u_int8_t **out) { return deflate_global(data, size, 1, out); } u_int32_t -lzs_dummy(data, size, out) - u_int8_t *data; - u_int32_t size; - u_int8_t **out; +lzs_dummy(u_int8_t *data, u_int32_t size, u_int8_t **out) { *out = NULL; return (0); -- cgit v1.2.3