[packet.c progressmeter.c]
     mostly ansi cleanup; pval ok
This commit is contained in:
Damien Miller 2003-06-11 22:05:06 +10:00
parent f1ce505daf
commit 2b92d32e19
3 changed files with 9 additions and 6 deletions

View File

@ -9,6 +9,9 @@
- kill whitespace at EOL
- new sentence, new line
ssh pages ok markus@
- deraadt@cvs.openbsd.org 2003/06/10 22:20:52
[packet.c progressmeter.c]
mostly ansi cleanup; pval ok
20030609
@ -493,4 +496,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2793 2003/06/11 12:04:39 djm Exp $
$Id: ChangeLog,v 1.2794 2003/06/11 12:05:06 djm Exp $

View File

@ -37,7 +37,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: packet.c,v 1.106 2003/04/08 20:21:29 itojun Exp $");
RCSID("$OpenBSD: packet.c,v 1.107 2003/06/10 22:20:52 deraadt Exp $");
#include "openbsd-compat/sys-queue.h"
@ -265,7 +265,7 @@ packet_set_iv(int mode, u_char *dat)
cipher_set_keyiv(cc, dat);
}
int
packet_get_ssh1_cipher()
packet_get_ssh1_cipher(void)
{
return (cipher_get_number(receive_context.cipher));
}

View File

@ -64,7 +64,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: progressmeter.c,v 1.6 2003/04/07 21:58:05 millert Exp $");
RCSID("$OpenBSD: progressmeter.c,v 1.7 2003/06/10 22:20:52 deraadt Exp $");
#ifdef HAVE_LIBGEN_H
#include <libgen.h>
@ -127,7 +127,7 @@ start_progress_meter(char *file, off_t filesize, off_t *counter)
}
void
stop_progress_meter()
stop_progress_meter(void)
{
alarm(0);
draw_progress_meter();
@ -165,7 +165,7 @@ foregroundproc(void)
}
static void
draw_progress_meter()
draw_progress_meter(void)
{
static const char spaces[] = " "
" "