diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-09 02:11:24 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-09 02:11:24 +0000 |
commit | 31ca54aa86a90052f8fe73fda66c7f39fd5079bc (patch) | |
tree | 91bf4097b9145323fd2aee645a2a42348e33b22e /packet.c | |
parent | e9cf357a99dcd2db14635974289e04f5f0808123 (diff) |
- itojun@cvs.openbsd.org 2001/02/08 19:30:52
sync with netbsd tree changes.
- more strict prototypes, include necessary headers
- use paths.h/pathnames.h decls
- size_t typecase to int -> u_long
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "includes.h" | 39 | #include "includes.h" |
40 | RCSID("$OpenBSD: packet.c,v 1.48 2001/02/04 15:32:24 stevesk Exp $"); | 40 | RCSID("$OpenBSD: packet.c,v 1.49 2001/02/08 19:30:52 itojun Exp $"); |
41 | 41 | ||
42 | #include "xmalloc.h" | 42 | #include "xmalloc.h" |
43 | #include "buffer.h" | 43 | #include "buffer.h" |
@@ -455,7 +455,7 @@ packet_put_bignum2(BIGNUM * value) | |||
455 | */ | 455 | */ |
456 | 456 | ||
457 | void | 457 | void |
458 | packet_send1() | 458 | packet_send1(void) |
459 | { | 459 | { |
460 | char buf[8], *cp; | 460 | char buf[8], *cp; |
461 | int i, padding, len; | 461 | int i, padding, len; |
@@ -529,7 +529,7 @@ packet_send1() | |||
529 | * Finalize packet in SSH2 format (compress, mac, encrypt, enqueue) | 529 | * Finalize packet in SSH2 format (compress, mac, encrypt, enqueue) |
530 | */ | 530 | */ |
531 | void | 531 | void |
532 | packet_send2() | 532 | packet_send2(void) |
533 | { | 533 | { |
534 | u_char *macbuf = NULL; | 534 | u_char *macbuf = NULL; |
535 | char *cp; | 535 | char *cp; |