- (stevesk) compress.[ch] sync with openbsd; missed in prototype

fix merge.
This commit is contained in:
Kevin Steves 2000-12-28 22:16:00 +00:00
parent 4dccfa5fb7
commit e76524075e
3 changed files with 6 additions and 4 deletions

View File

@ -30,6 +30,8 @@
- markus@cvs.openbsd.org 2000/12/27 11:41:31 - markus@cvs.openbsd.org 2000/12/27 11:41:31
[sshd.8] [sshd.8]
update for ssh-2 update for ssh-2
- (stevesk) compress.[ch] sync with openbsd; missed in prototype
fix merge.
20001228 20001228
- (bal) Patch to add libutil.h to loginrec.c only if the platform has - (bal) Patch to add libutil.h to loginrec.c only if the platform has

View File

@ -12,7 +12,7 @@
*/ */
#include "includes.h" #include "includes.h"
RCSID("$OpenBSD: compress.c,v 1.10 2000/12/19 23:17:56 markus Exp $"); RCSID("$OpenBSD: compress.c,v 1.11 2000/12/20 19:37:21 markus Exp $");
#include "ssh.h" #include "ssh.h"
#include "buffer.h" #include "buffer.h"
@ -39,7 +39,7 @@ buffer_compress_init(int level)
/* Frees any data structures allocated for compression. */ /* Frees any data structures allocated for compression. */
void void
buffer_compress_uninit() buffer_compress_uninit(void)
{ {
debug("compress outgoing: raw data %lu, compressed %lu, factor %.2f", debug("compress outgoing: raw data %lu, compressed %lu, factor %.2f",
outgoing_stream.total_in, outgoing_stream.total_out, outgoing_stream.total_in, outgoing_stream.total_out,

View File

@ -11,7 +11,7 @@
* called by a name other than "ssh" or "Secure Shell". * called by a name other than "ssh" or "Secure Shell".
*/ */
/* RCSID("$OpenBSD: compress.h,v 1.6 2000/09/07 20:27:50 deraadt Exp $"); */ /* RCSID("$OpenBSD: compress.h,v 1.7 2000/12/20 19:37:22 markus Exp $"); */
#ifndef COMPRESS_H #ifndef COMPRESS_H
#define COMPRESS_H #define COMPRESS_H
@ -23,7 +23,7 @@
void buffer_compress_init(int level); void buffer_compress_init(int level);
/* Frees any data structures allocated by buffer_compress_init. */ /* Frees any data structures allocated by buffer_compress_init. */
void buffer_compress_uninit(); void buffer_compress_uninit(void);
/* /*
* Compresses the contents of input_buffer into output_buffer. All packets * Compresses the contents of input_buffer into output_buffer. All packets