summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog13
-rw-r--r--auth-passwd.c3
-rw-r--r--auth-rhosts.c3
-rw-r--r--auth-rsa.c3
-rw-r--r--auth.c3
-rw-r--r--auth.h3
-rw-r--r--auth1.c3
-rw-r--r--auth2-chall.c3
-rw-r--r--auth2-pubkey.c3
-rw-r--r--authfile.c3
-rw-r--r--buffer.c3
-rw-r--r--canohost.c3
-rw-r--r--channels.c3
-rw-r--r--clientloop.c3
-rw-r--r--dh.c3
-rw-r--r--dns.c3
-rw-r--r--dns.h4
-rw-r--r--hostfile.c3
-rw-r--r--includes.h1
-rw-r--r--kex.c3
-rw-r--r--kexdhc.c3
-rw-r--r--kexgexc.c3
-rw-r--r--kexgexs.c3
-rw-r--r--key.c3
-rw-r--r--key.h4
-rw-r--r--log.c3
-rw-r--r--misc.c3
-rw-r--r--misc.h3
-rw-r--r--moduli.c3
-rw-r--r--monitor_wrap.c3
-rw-r--r--packet.c3
-rw-r--r--progressmeter.c3
-rw-r--r--readconf.c3
-rw-r--r--readpass.c3
-rw-r--r--scp.c3
-rw-r--r--servconf.c3
-rw-r--r--session.c3
-rw-r--r--sftp-client.c3
-rw-r--r--sftp-common.c3
-rw-r--r--sftp-server.c3
-rw-r--r--sftp.c3
-rw-r--r--ssh-add.c3
-rw-r--r--ssh-agent.c3
-rw-r--r--ssh-keygen.c3
-rw-r--r--ssh-keyscan.c3
-rw-r--r--ssh.c3
-rw-r--r--sshconnect.c3
-rw-r--r--sshconnect1.c3
-rw-r--r--sshconnect2.c3
-rw-r--r--sshd.c3
-rw-r--r--sshlogin.c3
-rw-r--r--sshtty.c3
-rw-r--r--uuencode.c3
-rw-r--r--uuencode.h5
-rw-r--r--xmalloc.c3
55 files changed, 122 insertions, 55 deletions
diff --git a/ChangeLog b/ChangeLog
index a97e77aaf..de401547e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,17 @@
40 Allow fallback to known_hosts entries without port qualifiers for 40 Allow fallback to known_hosts entries without port qualifiers for
41 non-standard ports too, so that all existing known_hosts entries will be 41 non-standard ports too, so that all existing known_hosts entries will be
42 recognised. Requested by, feedback and ok markus@ 42 recognised. Requested by, feedback and ok markus@
43 - stevesk@cvs.openbsd.org 2006/08/01 23:22:48
44 [auth-passwd.c auth-rhosts.c auth-rsa.c auth.c auth.h auth1.c]
45 [auth2-chall.c auth2-pubkey.c authfile.c buffer.c canohost.c]
46 [channels.c clientloop.c dh.c dns.c dns.h hostfile.c kex.c kexdhc.c]
47 [kexgexc.c kexgexs.c key.c key.h log.c misc.c misc.h moduli.c]
48 [monitor_wrap.c packet.c progressmeter.c readconf.c readpass.c scp.c]
49 [servconf.c session.c sftp-client.c sftp-common.c sftp-server.c sftp.c]
50 [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keyscan.c ssh.c sshconnect.c]
51 [sshconnect1.c sshconnect2.c sshd.c sshlogin.c sshtty.c uuencode.c]
52 [uuencode.h xmalloc.c]
53 move #include <stdio.h> out of includes.h
43 54
4420060804 5520060804
45 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent 56 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent
@@ -5110,4 +5121,4 @@
5110 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5121 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5111 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5122 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5112 5123
5113$Id: ChangeLog,v 1.4449 2006/08/05 01:35:45 djm Exp $ 5124$Id: ChangeLog,v 1.4450 2006/08/05 01:37:59 djm Exp $
diff --git a/auth-passwd.c b/auth-passwd.c
index e5edc9336..f8df17e6a 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth-passwd.c,v 1.38 2006/07/22 20:48:22 stevesk Exp $ */ 1/* $OpenBSD: auth-passwd.c,v 1.39 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -41,6 +41,7 @@
41#include <sys/types.h> 41#include <sys/types.h>
42 42
43#include <pwd.h> 43#include <pwd.h>
44#include <stdio.h>
44#include <string.h> 45#include <string.h>
45 46
46#include "packet.h" 47#include "packet.h"
diff --git a/auth-rhosts.c b/auth-rhosts.c
index c14604dc4..8dc4ede05 100644
--- a/auth-rhosts.c
+++ b/auth-rhosts.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth-rhosts.c,v 1.39 2006/07/22 20:48:22 stevesk Exp $ */ 1/* $OpenBSD: auth-rhosts.c,v 1.40 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -23,6 +23,7 @@
23# include <netgroup.h> 23# include <netgroup.h>
24#endif 24#endif
25#include <pwd.h> 25#include <pwd.h>
26#include <stdio.h>
26#include <string.h> 27#include <string.h>
27 28
28#include "packet.h" 29#include "packet.h"
diff --git a/auth-rsa.c b/auth-rsa.c
index 65c77805f..f3e27e9fa 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth-rsa.c,v 1.69 2006/07/22 20:48:22 stevesk Exp $ */ 1/* $OpenBSD: auth-rsa.c,v 1.70 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -23,6 +23,7 @@
23#include <openssl/md5.h> 23#include <openssl/md5.h>
24 24
25#include <pwd.h> 25#include <pwd.h>
26#include <stdio.h>
26#include <string.h> 27#include <string.h>
27 28
28#include "rsa.h" 29#include "rsa.h"
diff --git a/auth.c b/auth.c
index 0089a1dd9..88a8e22ef 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.c,v 1.73 2006/07/26 02:35:17 stevesk Exp $ */ 1/* $OpenBSD: auth.c,v 1.74 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -44,6 +44,7 @@
44#include <libgen.h> 44#include <libgen.h>
45#endif 45#endif
46#include <stdarg.h> 46#include <stdarg.h>
47#include <stdio.h>
47#include <string.h> 48#include <string.h>
48 49
49#include "xmalloc.h" 50#include "xmalloc.h"
diff --git a/auth.h b/auth.h
index 65250138f..2c7499573 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.55 2006/07/23 01:11:05 stevesk Exp $ */ 1/* $OpenBSD: auth.h,v 1.56 2006/08/01 23:22:47 stevesk Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -33,6 +33,7 @@
33#include <signal.h> 33#include <signal.h>
34#include <pwd.h> 34#include <pwd.h>
35#include <signal.h> 35#include <signal.h>
36#include <stdio.h>
36 37
37#include "buffer.h" 38#include "buffer.h"
38#include <openssl/rsa.h> 39#include <openssl/rsa.h>
diff --git a/auth1.c b/auth1.c
index 034010fda..2c5585768 100644
--- a/auth1.c
+++ b/auth1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth1.c,v 1.68 2006/07/22 20:48:22 stevesk Exp $ */ 1/* $OpenBSD: auth1.c,v 1.69 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 4 * All rights reserved
@@ -14,6 +14,7 @@
14 14
15#include <sys/types.h> 15#include <sys/types.h>
16 16
17#include <stdio.h>
17#include <string.h> 18#include <string.h>
18#include <unistd.h> 19#include <unistd.h>
19 20
diff --git a/auth2-chall.c b/auth2-chall.c
index ad6b7233f..89b261e61 100644
--- a/auth2-chall.c
+++ b/auth2-chall.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-chall.c,v 1.28 2006/07/22 20:48:22 stevesk Exp $ */ 1/* $OpenBSD: auth2-chall.c,v 1.29 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * Copyright (c) 2001 Per Allansson. All rights reserved. 4 * Copyright (c) 2001 Per Allansson. All rights reserved.
@@ -25,6 +25,7 @@
25 */ 25 */
26#include "includes.h" 26#include "includes.h"
27 27
28#include <stdio.h>
28#include <string.h> 29#include <string.h>
29 30
30#include "ssh2.h" 31#include "ssh2.h"
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 7962dcef2..41763f763 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-pubkey.c,v 1.13 2006/07/06 16:03:53 stevesk Exp $ */ 1/* $OpenBSD: auth2-pubkey.c,v 1.14 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -29,6 +29,7 @@
29#include <sys/stat.h> 29#include <sys/stat.h>
30 30
31#include <pwd.h> 31#include <pwd.h>
32#include <stdio.h>
32 33
33#include "ssh.h" 34#include "ssh.h"
34#include "ssh2.h" 35#include "ssh2.h"
diff --git a/authfile.c b/authfile.c
index 7231be55f..f1d47b00b 100644
--- a/authfile.c
+++ b/authfile.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfile.c,v 1.73 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: authfile.c,v 1.74 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -48,6 +48,7 @@
48 48
49#include <errno.h> 49#include <errno.h>
50#include <fcntl.h> 50#include <fcntl.h>
51#include <stdio.h>
51#include <stdlib.h> 52#include <stdlib.h>
52#include <string.h> 53#include <string.h>
53#include <unistd.h> 54#include <unistd.h>
diff --git a/buffer.c b/buffer.c
index c6e8a8d48..25868b94d 100644
--- a/buffer.c
+++ b/buffer.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: buffer.c,v 1.29 2006/07/26 02:35:17 stevesk Exp $ */ 1/* $OpenBSD: buffer.c,v 1.30 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -16,6 +16,7 @@
16 16
17#include <sys/param.h> 17#include <sys/param.h>
18 18
19#include <stdio.h>
19#include <string.h> 20#include <string.h>
20 21
21#include "xmalloc.h" 22#include "xmalloc.h"
diff --git a/canohost.c b/canohost.c
index 681139cdf..c236617d7 100644
--- a/canohost.c
+++ b/canohost.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: canohost.c,v 1.59 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: canohost.c,v 1.60 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -22,6 +22,7 @@
22#include <ctype.h> 22#include <ctype.h>
23#include <errno.h> 23#include <errno.h>
24#include <netdb.h> 24#include <netdb.h>
25#include <stdio.h>
25#include <stdlib.h> 26#include <stdlib.h>
26#include <string.h> 27#include <string.h>
27 28
diff --git a/channels.c b/channels.c
index b8c4e7e74..80cb32461 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.262 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: channels.c,v 1.263 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -54,6 +54,7 @@
54 54
55#include <errno.h> 55#include <errno.h>
56#include <netdb.h> 56#include <netdb.h>
57#include <stdio.h>
57#include <stdlib.h> 58#include <stdlib.h>
58#include <string.h> 59#include <string.h>
59#include <termios.h> 60#include <termios.h>
diff --git a/clientloop.c b/clientloop.c
index 46f52e1a2..f9ffa2bb7 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.173 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.174 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -78,6 +78,7 @@
78#include <paths.h> 78#include <paths.h>
79#endif 79#endif
80#include <signal.h> 80#include <signal.h>
81#include <stdio.h>
81#include <stdlib.h> 82#include <stdlib.h>
82#include <string.h> 83#include <string.h>
83#include <termios.h> 84#include <termios.h>
diff --git a/dh.c b/dh.c
index 1ebd3f48e..4ca949138 100644
--- a/dh.c
+++ b/dh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh.c,v 1.40 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: dh.c,v 1.41 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Niels Provos. All rights reserved. 3 * Copyright (c) 2000 Niels Provos. All rights reserved.
4 * 4 *
@@ -30,6 +30,7 @@
30#include <openssl/bn.h> 30#include <openssl/bn.h>
31#include <openssl/dh.h> 31#include <openssl/dh.h>
32 32
33#include <stdio.h>
33#include <stdlib.h> 34#include <stdlib.h>
34#include <string.h> 35#include <string.h>
35 36
diff --git a/dns.c b/dns.c
index c9368b96b..008fc596f 100644
--- a/dns.c
+++ b/dns.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dns.c,v 1.21 2006/07/22 20:48:23 stevesk Exp $ */ 1/* $OpenBSD: dns.c,v 1.22 2006/08/01 23:22:47 stevesk Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2003 Wesley Griffin. All rights reserved. 4 * Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -31,6 +31,7 @@
31#include <sys/socket.h> 31#include <sys/socket.h>
32 32
33#include <netdb.h> 33#include <netdb.h>
34#include <stdio.h>
34#include <string.h> 35#include <string.h>
35 36
36#include "xmalloc.h" 37#include "xmalloc.h"
diff --git a/dns.h b/dns.h
index 818750384..8f9601824 100644
--- a/dns.h
+++ b/dns.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dns.h,v 1.8 2006/07/08 21:47:12 stevesk Exp $ */ 1/* $OpenBSD: dns.h,v 1.9 2006/08/01 23:22:47 stevesk Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2003 Wesley Griffin. All rights reserved. 4 * Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -30,6 +30,8 @@
30#include <sys/types.h> 30#include <sys/types.h>
31#include <sys/socket.h> 31#include <sys/socket.h>
32 32
33#include <stdio.h>
34
33#ifndef DNS_H 35#ifndef DNS_H
34#define DNS_H 36#define DNS_H
35 37
diff --git a/hostfile.c b/hostfile.c
index 33516a64c..7ac69e776 100644
--- a/hostfile.c
+++ b/hostfile.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: hostfile.c,v 1.43 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: hostfile.c,v 1.44 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -46,6 +46,7 @@
46#include <openssl/sha.h> 46#include <openssl/sha.h>
47 47
48#include <resolv.h> 48#include <resolv.h>
49#include <stdio.h>
49#include <stdlib.h> 50#include <stdlib.h>
50#include <string.h> 51#include <string.h>
51 52
diff --git a/includes.h b/includes.h
index 215c00879..9b6a63fb3 100644
--- a/includes.h
+++ b/includes.h
@@ -21,7 +21,6 @@
21#define _GNU_SOURCE /* activate extra prototypes for glibc */ 21#define _GNU_SOURCE /* activate extra prototypes for glibc */
22 22
23#include <sys/types.h> 23#include <sys/types.h>
24#include <stdio.h>
25 24
26#ifdef HAVE_LIMITS_H 25#ifdef HAVE_LIMITS_H
27# include <limits.h> /* For PATH_MAX */ 26# include <limits.h> /* For PATH_MAX */
diff --git a/kex.c b/kex.c
index 4b1dda814..3525307c3 100644
--- a/kex.c
+++ b/kex.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.c,v 1.74 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: kex.c,v 1.75 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -29,6 +29,7 @@
29 29
30#include <openssl/crypto.h> 30#include <openssl/crypto.h>
31 31
32#include <stdio.h>
32#include <stdlib.h> 33#include <stdlib.h>
33#include <string.h> 34#include <string.h>
34 35
diff --git a/kexdhc.c b/kexdhc.c
index dbbd9bbd0..9d123e748 100644
--- a/kexdhc.c
+++ b/kexdhc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexdhc.c,v 1.7 2006/07/22 20:48:23 stevesk Exp $ */ 1/* $OpenBSD: kexdhc.c,v 1.8 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -25,6 +25,7 @@
25 25
26#include "includes.h" 26#include "includes.h"
27 27
28#include <stdio.h>
28#include <string.h> 29#include <string.h>
29 30
30#include "xmalloc.h" 31#include "xmalloc.h"
diff --git a/kexgexc.c b/kexgexc.c
index fb2049ea7..9c618ec6c 100644
--- a/kexgexc.c
+++ b/kexgexc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexgexc.c,v 1.7 2006/07/22 20:48:23 stevesk Exp $ */ 1/* $OpenBSD: kexgexc.c,v 1.8 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Niels Provos. All rights reserved. 3 * Copyright (c) 2000 Niels Provos. All rights reserved.
4 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -26,6 +26,7 @@
26 26
27#include "includes.h" 27#include "includes.h"
28 28
29#include <stdio.h>
29#include <string.h> 30#include <string.h>
30 31
31#include "xmalloc.h" 32#include "xmalloc.h"
diff --git a/kexgexs.c b/kexgexs.c
index 2bd7ee948..0b01ed800 100644
--- a/kexgexs.c
+++ b/kexgexs.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexgexs.c,v 1.6 2006/07/26 02:35:17 stevesk Exp $ */ 1/* $OpenBSD: kexgexs.c,v 1.7 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Niels Provos. All rights reserved. 3 * Copyright (c) 2000 Niels Provos. All rights reserved.
4 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -28,6 +28,7 @@
28 28
29#include <sys/param.h> 29#include <sys/param.h>
30 30
31#include <stdio.h>
31#include <string.h> 32#include <string.h>
32 33
33#include "xmalloc.h" 34#include "xmalloc.h"
diff --git a/key.c b/key.c
index e6868de6d..745c474f9 100644
--- a/key.c
+++ b/key.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: key.c,v 1.65 2006/07/22 20:48:23 stevesk Exp $ */ 1/* $OpenBSD: key.c,v 1.66 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * read_bignum(): 3 * read_bignum():
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -36,6 +36,7 @@
36 36
37#include <openssl/evp.h> 37#include <openssl/evp.h>
38 38
39#include <stdio.h>
39#include <string.h> 40#include <string.h>
40 41
41#include "xmalloc.h" 42#include "xmalloc.h"
diff --git a/key.h b/key.h
index ee78d48d5..57af279b8 100644
--- a/key.h
+++ b/key.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: key.h,v 1.24 2006/03/25 22:22:43 djm Exp $ */ 1/* $OpenBSD: key.h,v 1.25 2006/08/01 23:22:47 stevesk Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -29,6 +29,8 @@
29#include <openssl/rsa.h> 29#include <openssl/rsa.h>
30#include <openssl/dsa.h> 30#include <openssl/dsa.h>
31 31
32#include <stdio.h>
33
32typedef struct Key Key; 34typedef struct Key Key;
33enum types { 35enum types {
34 KEY_RSA1, 36 KEY_RSA1,
diff --git a/log.c b/log.c
index 68cbfc7d9..871bc2c42 100644
--- a/log.c
+++ b/log.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: log.c,v 1.36 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: log.c,v 1.37 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -37,6 +37,7 @@
37#include "includes.h" 37#include "includes.h"
38 38
39#include <stdarg.h> 39#include <stdarg.h>
40#include <stdio.h>
40#include <stdlib.h> 41#include <stdlib.h>
41#include <string.h> 42#include <string.h>
42#include <syslog.h> 43#include <syslog.h>
diff --git a/misc.c b/misc.c
index c251139f0..ef2014f61 100644
--- a/misc.c
+++ b/misc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.c,v 1.62 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: misc.c,v 1.63 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * Copyright (c) 2005,2006 Damien Miller. All rights reserved. 4 * Copyright (c) 2005,2006 Damien Miller. All rights reserved.
@@ -32,6 +32,7 @@
32#include <sys/param.h> 32#include <sys/param.h>
33 33
34#include <stdarg.h> 34#include <stdarg.h>
35#include <stdio.h>
35#include <stdlib.h> 36#include <stdlib.h>
36#include <string.h> 37#include <string.h>
37#include <unistd.h> 38#include <unistd.h>
diff --git a/misc.h b/misc.h
index 139a62e05..1dded7215 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.33 2006/07/10 12:46:51 dtucker Exp $ */ 1/* $OpenBSD: misc.h,v 1.34 2006/08/01 23:22:47 stevesk Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -18,6 +18,7 @@
18#include <sys/types.h> 18#include <sys/types.h>
19 19
20#include <pwd.h> 20#include <pwd.h>
21#include <stdio.h>
21 22
22/* misc.c */ 23/* misc.c */
23 24
diff --git a/moduli.c b/moduli.c
index 7b6a7b89f..a164b4f5d 100644
--- a/moduli.c
+++ b/moduli.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: moduli.c,v 1.16 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: moduli.c,v 1.17 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright 1994 Phil Karn <karn@qualcomm.com> 3 * Copyright 1994 Phil Karn <karn@qualcomm.com>
4 * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com> 4 * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com>
@@ -43,6 +43,7 @@
43 43
44#include <openssl/bn.h> 44#include <openssl/bn.h>
45 45
46#include <stdio.h>
46#include <stdlib.h> 47#include <stdlib.h>
47#include <string.h> 48#include <string.h>
48#include <time.h> 49#include <time.h>
diff --git a/monitor_wrap.c b/monitor_wrap.c
index 3728e5f55..27e2fc7c3 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_wrap.c,v 1.48 2006/07/22 20:48:23 stevesk Exp $ */ 1/* $OpenBSD: monitor_wrap.c,v 1.49 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * Copyright 2002 Markus Friedl <markus@openbsd.org> 4 * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -34,6 +34,7 @@
34 34
35#include <errno.h> 35#include <errno.h>
36#include <pwd.h> 36#include <pwd.h>
37#include <stdio.h>
37#include <string.h> 38#include <string.h>
38 39
39#include "ssh.h" 40#include "ssh.h"
diff --git a/packet.c b/packet.c
index 2c980d25e..acf72f77e 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.140 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: packet.c,v 1.141 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -53,6 +53,7 @@
53 53
54#include <errno.h> 54#include <errno.h>
55#include <stdarg.h> 55#include <stdarg.h>
56#include <stdio.h>
56#include <stdlib.h> 57#include <stdlib.h>
57#include <string.h> 58#include <string.h>
58#include <unistd.h> 59#include <unistd.h>
diff --git a/progressmeter.c b/progressmeter.c
index 19dc917c9..cbbb34023 100644
--- a/progressmeter.c
+++ b/progressmeter.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: progressmeter.c,v 1.34 2006/07/22 20:48:23 stevesk Exp $ */ 1/* $OpenBSD: progressmeter.c,v 1.35 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2003 Nils Nordman. All rights reserved. 3 * Copyright (c) 2003 Nils Nordman. All rights reserved.
4 * 4 *
@@ -30,6 +30,7 @@
30 30
31#include <errno.h> 31#include <errno.h>
32#include <signal.h> 32#include <signal.h>
33#include <stdio.h>
33#include <string.h> 34#include <string.h>
34#include <time.h> 35#include <time.h>
35#include <unistd.h> 36#include <unistd.h>
diff --git a/readconf.c b/readconf.c
index 6fe372796..9975c9d32 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.157 2006/07/22 20:48:23 stevesk Exp $ */ 1/* $OpenBSD: readconf.c,v 1.158 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -23,6 +23,7 @@
23#include <ctype.h> 23#include <ctype.h>
24#include <errno.h> 24#include <errno.h>
25#include <netdb.h> 25#include <netdb.h>
26#include <stdio.h>
26#include <string.h> 27#include <string.h>
27#include <unistd.h> 28#include <unistd.h>
28 29
diff --git a/readpass.c b/readpass.c
index 78b136f33..8af5d444d 100644
--- a/readpass.c
+++ b/readpass.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readpass.c,v 1.45 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: readpass.c,v 1.46 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -34,6 +34,7 @@
34# include <paths.h> 34# include <paths.h>
35#endif 35#endif
36#include <stdarg.h> 36#include <stdarg.h>
37#include <stdio.h>
37#include <stdlib.h> 38#include <stdlib.h>
38#include <string.h> 39#include <string.h>
39#include <unistd.h> 40#include <unistd.h>
diff --git a/scp.c b/scp.c
index a807338bf..8d9de0135 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: scp.c,v 1.153 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: scp.c,v 1.154 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * scp - secure remote copy. This is basically patched BSD rcp which 3 * scp - secure remote copy. This is basically patched BSD rcp which
4 * uses ssh to do the data transfer (instead of using rcmd). 4 * uses ssh to do the data transfer (instead of using rcmd).
@@ -90,6 +90,7 @@
90#include <pwd.h> 90#include <pwd.h>
91#include <signal.h> 91#include <signal.h>
92#include <stdarg.h> 92#include <stdarg.h>
93#include <stdio.h>
93#include <stdlib.h> 94#include <stdlib.h>
94#include <string.h> 95#include <string.h>
95#include <time.h> 96#include <time.h>
diff --git a/servconf.c b/servconf.c
index 05f47355c..4edc80efe 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: servconf.c,v 1.161 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: servconf.c,v 1.162 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 4 * All rights reserved
@@ -16,6 +16,7 @@
16#include <sys/socket.h> 16#include <sys/socket.h>
17 17
18#include <netdb.h> 18#include <netdb.h>
19#include <stdio.h>
19#include <stdlib.h> 20#include <stdlib.h>
20#include <string.h> 21#include <string.h>
21#include <unistd.h> 22#include <unistd.h>
diff --git a/session.c b/session.c
index 2ddc5bd27..a6d5ad257 100644
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: session.c,v 1.214 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: session.c,v 1.215 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 4 * All rights reserved
@@ -53,6 +53,7 @@
53#endif 53#endif
54#include <pwd.h> 54#include <pwd.h>
55#include <signal.h> 55#include <signal.h>
56#include <stdio.h>
56#include <stdlib.h> 57#include <stdlib.h>
57#include <string.h> 58#include <string.h>
58#include <unistd.h> 59#include <unistd.h>
diff --git a/sftp-client.c b/sftp-client.c
index 4416afa4c..b7b126d21 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-client.c,v 1.72 2006/07/26 02:35:17 stevesk Exp $ */ 1/* $OpenBSD: sftp-client.c,v 1.73 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -34,6 +34,7 @@
34#include <errno.h> 34#include <errno.h>
35#include <fcntl.h> 35#include <fcntl.h>
36#include <signal.h> 36#include <signal.h>
37#include <stdio.h>
37#include <string.h> 38#include <string.h>
38#include <unistd.h> 39#include <unistd.h>
39 40
diff --git a/sftp-common.c b/sftp-common.c
index da907ff01..3faed373e 100644
--- a/sftp-common.c
+++ b/sftp-common.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-common.c,v 1.18 2006/07/26 02:35:17 stevesk Exp $ */ 1/* $OpenBSD: sftp-common.c,v 1.19 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * Copyright (c) 2001 Damien Miller. All rights reserved. 4 * Copyright (c) 2001 Damien Miller. All rights reserved.
@@ -32,6 +32,7 @@
32 32
33#include <grp.h> 33#include <grp.h>
34#include <pwd.h> 34#include <pwd.h>
35#include <stdio.h>
35#include <string.h> 36#include <string.h>
36#include <time.h> 37#include <time.h>
37 38
diff --git a/sftp-server.c b/sftp-server.c
index abc9539e4..c0839782d 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-server.c,v 1.68 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: sftp-server.c,v 1.69 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
4 * 4 *
@@ -28,6 +28,7 @@
28#include <fcntl.h> 28#include <fcntl.h>
29#include <pwd.h> 29#include <pwd.h>
30#include <stdlib.h> 30#include <stdlib.h>
31#include <stdio.h>
31#include <string.h> 32#include <string.h>
32#include <time.h> 33#include <time.h>
33#include <unistd.h> 34#include <unistd.h>
diff --git a/sftp.c b/sftp.c
index ca91bc50b..82ef58019 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp.c,v 1.89 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: sftp.c,v 1.90 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -38,6 +38,7 @@ typedef void EditLine;
38#endif 38#endif
39#include <signal.h> 39#include <signal.h>
40#include <stdlib.h> 40#include <stdlib.h>
41#include <stdio.h>
41#include <string.h> 42#include <string.h>
42#include <unistd.h> 43#include <unistd.h>
43 44
diff --git a/ssh-add.c b/ssh-add.c
index eccc8ce45..a8d98fd1f 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-add.c,v 1.87 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: ssh-add.c,v 1.88 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -45,6 +45,7 @@
45 45
46#include <fcntl.h> 46#include <fcntl.h>
47#include <pwd.h> 47#include <pwd.h>
48#include <stdio.h>
48#include <stdlib.h> 49#include <stdlib.h>
49#include <string.h> 50#include <string.h>
50#include <unistd.h> 51#include <unistd.h>
diff --git a/ssh-agent.c b/ssh-agent.c
index 478f8d1ee..54c2b9c47 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-agent.c,v 1.149 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: ssh-agent.c,v 1.150 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -58,6 +58,7 @@
58# include <paths.h> 58# include <paths.h>
59#endif 59#endif
60#include <signal.h> 60#include <signal.h>
61#include <stdio.h>
61#include <stdlib.h> 62#include <stdlib.h>
62#include <time.h> 63#include <time.h>
63#include <string.h> 64#include <string.h>
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 6383d7479..d8b793e81 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.152 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.153 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -29,6 +29,7 @@
29# include <paths.h> 29# include <paths.h>
30#endif 30#endif
31#include <pwd.h> 31#include <pwd.h>
32#include <stdio.h>
32#include <stdlib.h> 33#include <stdlib.h>
33#include <string.h> 34#include <string.h>
34#include <unistd.h> 35#include <unistd.h>
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 3d8cc7e4a..701540841 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keyscan.c,v 1.71 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: ssh-keyscan.c,v 1.72 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. 3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
4 * 4 *
@@ -21,6 +21,7 @@
21#include <errno.h> 21#include <errno.h>
22#include <setjmp.h> 22#include <setjmp.h>
23#include <stdarg.h> 23#include <stdarg.h>
24#include <stdio.h>
24#include <stdlib.h> 25#include <stdlib.h>
25#include <string.h> 26#include <string.h>
26#include <unistd.h> 27#include <unistd.h>
diff --git a/ssh.c b/ssh.c
index e08239c61..8dc987214 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.290 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: ssh.c,v 1.291 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -61,6 +61,7 @@
61#include <pwd.h> 61#include <pwd.h>
62#include <signal.h> 62#include <signal.h>
63#include <stddef.h> 63#include <stddef.h>
64#include <stdio.h>
64#include <stdlib.h> 65#include <stdlib.h>
65#include <string.h> 66#include <string.h>
66#include <unistd.h> 67#include <unistd.h>
diff --git a/sshconnect.c b/sshconnect.c
index 54e664830..af75bba8d 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.c,v 1.197 2006/08/01 11:34:36 dtucker Exp $ */ 1/* $OpenBSD: sshconnect.c,v 1.198 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -32,6 +32,7 @@
32#include <paths.h> 32#include <paths.h>
33#endif 33#endif
34#include <pwd.h> 34#include <pwd.h>
35#include <stdio.h>
35#include <stdlib.h> 36#include <stdlib.h>
36#include <string.h> 37#include <string.h>
37#include <unistd.h> 38#include <unistd.h>
diff --git a/sshconnect1.c b/sshconnect1.c
index 37024e750..f0eee3bdf 100644
--- a/sshconnect1.c
+++ b/sshconnect1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect1.c,v 1.67 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: sshconnect1.c,v 1.68 2006/08/01 23:22:47 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -18,6 +18,7 @@
18#include <openssl/bn.h> 18#include <openssl/bn.h>
19#include <openssl/md5.h> 19#include <openssl/md5.h>
20 20
21#include <stdio.h>
21#include <stdlib.h> 22#include <stdlib.h>
22#include <string.h> 23#include <string.h>
23 24
diff --git a/sshconnect2.c b/sshconnect2.c
index 41be0b91c..27e5442e9 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.158 2006/07/22 20:48:23 stevesk Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.159 2006/08/01 23:22:48 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -30,6 +30,7 @@
30#include <sys/stat.h> 30#include <sys/stat.h>
31 31
32#include <errno.h> 32#include <errno.h>
33#include <stdio.h>
33#include <string.h> 34#include <string.h>
34#include <unistd.h> 35#include <unistd.h>
35 36
diff --git a/sshd.c b/sshd.c
index 9fa179933..5cefd1024 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.341 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: sshd.c,v 1.342 2006/08/01 23:22:48 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -64,6 +64,7 @@
64#include <grp.h> 64#include <grp.h>
65#include <pwd.h> 65#include <pwd.h>
66#include <signal.h> 66#include <signal.h>
67#include <stdio.h>
67#include <stdlib.h> 68#include <stdlib.h>
68#include <string.h> 69#include <string.h>
69 70
diff --git a/sshlogin.c b/sshlogin.c
index 4b2808206..b01fde091 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshlogin.c,v 1.23 2006/07/26 02:35:17 stevesk Exp $ */ 1/* $OpenBSD: sshlogin.c,v 1.24 2006/08/01 23:22:48 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -46,6 +46,7 @@
46 46
47#include <errno.h> 47#include <errno.h>
48#include <fcntl.h> 48#include <fcntl.h>
49#include <stdio.h>
49#include <string.h> 50#include <string.h>
50#include <time.h> 51#include <time.h>
51#include <unistd.h> 52#include <unistd.h>
diff --git a/sshtty.c b/sshtty.c
index 7cb848d2c..70668afde 100644
--- a/sshtty.c
+++ b/sshtty.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshtty.c,v 1.10 2006/03/25 13:17:03 djm Exp $ */ 1/* $OpenBSD: sshtty.c,v 1.11 2006/08/01 23:22:48 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -37,6 +37,7 @@
37 37
38#include "includes.h" 38#include "includes.h"
39 39
40#include <stdio.h>
40#include <termios.h> 41#include <termios.h>
41 42
42#include "sshpty.h" 43#include "sshpty.h"
diff --git a/uuencode.c b/uuencode.c
index 3128309cc..8a6742e95 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: uuencode.c,v 1.22 2006/07/05 02:42:09 stevesk Exp $ */ 1/* $OpenBSD: uuencode.c,v 1.23 2006/08/01 23:22:48 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -30,6 +30,7 @@
30#include <netinet/in.h> 30#include <netinet/in.h>
31 31
32#include <resolv.h> 32#include <resolv.h>
33#include <stdio.h>
33 34
34#include "xmalloc.h" 35#include "xmalloc.h"
35#include "uuencode.h" 36#include "uuencode.h"
diff --git a/uuencode.h b/uuencode.h
index bb98bf8d6..df09eb59b 100644
--- a/uuencode.h
+++ b/uuencode.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: uuencode.h,v 1.11 2006/03/25 22:22:43 djm Exp $ */ 1/* $OpenBSD: uuencode.h,v 1.12 2006/08/01 23:22:48 stevesk Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -26,6 +26,9 @@
26 26
27#ifndef UUENCODE_H 27#ifndef UUENCODE_H
28#define UUENCODE_H 28#define UUENCODE_H
29
30#include <stdio.h>
31
29int uuencode(const u_char *, u_int, char *, size_t); 32int uuencode(const u_char *, u_int, char *, size_t);
30int uudecode(const char *, u_char *, size_t); 33int uudecode(const char *, u_char *, size_t);
31void dump_base64(FILE *, u_char *, u_int); 34void dump_base64(FILE *, u_char *, u_int);
diff --git a/xmalloc.c b/xmalloc.c
index 77e2d27c7..6aea495ef 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: xmalloc.c,v 1.25 2006/07/26 13:57:17 stevesk Exp $ */ 1/* $OpenBSD: xmalloc.c,v 1.26 2006/08/01 23:22:48 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -18,6 +18,7 @@
18#include <sys/param.h> 18#include <sys/param.h>
19 19
20#include <stdarg.h> 20#include <stdarg.h>
21#include <stdio.h>
21#include <stdlib.h> 22#include <stdlib.h>
22#include <string.h> 23#include <string.h>
23 24