diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-02-20 17:19:55 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-02-20 17:19:55 +0000 |
commit | 349f55648639c727914febc82c97fe73470ac0b0 (patch) | |
tree | b0b74a2bd56d4f19d633a9549e2f1d02d2cd5660 /usr.bin | |
parent | cc22698e3d08fa9f43bbb8637f9ae25ed57afa02 (diff) |
move #include <sys/stat.h> out of includes.h; ok markus@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/auth-rhosts.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/auth-rsa.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/auth.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/auth2-none.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/auth2-pubkey.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/authfile.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/clientloop.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/includes.h | 3 | ||||
-rw-r--r-- | usr.bin/ssh/readconf.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/scp.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/session.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sftp-client.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/sftp-common.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/sftp-common.h | 5 | ||||
-rw-r--r-- | usr.bin/ssh/sftp-glob.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/sftp-server.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/sftp.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-keygen.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/ssh.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshconnect2.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshd.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/sshpty.c | 4 |
24 files changed, 76 insertions, 25 deletions
diff --git a/usr.bin/ssh/auth-rhosts.c b/usr.bin/ssh/auth-rhosts.c index 972bfcdd616..035a6e65423 100644 --- a/usr.bin/ssh/auth-rhosts.c +++ b/usr.bin/ssh/auth-rhosts.c @@ -14,7 +14,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-rhosts.c,v 1.34 2006/02/07 01:08:04 stevesk Exp $"); +RCSID("$OpenBSD: auth-rhosts.c,v 1.35 2006/02/20 17:19:53 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include <netgroup.h> diff --git a/usr.bin/ssh/auth-rsa.c b/usr.bin/ssh/auth-rsa.c index d9c9652dc71..275c0b67b14 100644 --- a/usr.bin/ssh/auth-rsa.c +++ b/usr.bin/ssh/auth-rsa.c @@ -14,7 +14,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-rsa.c,v 1.63 2005/06/17 02:44:32 djm Exp $"); +RCSID("$OpenBSD: auth-rsa.c,v 1.64 2006/02/20 17:19:53 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include <openssl/rsa.h> #include <openssl/md5.h> diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c index 241cf710309..a1353623cbe 100644 --- a/usr.bin/ssh/auth.c +++ b/usr.bin/ssh/auth.c @@ -23,7 +23,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth.c,v 1.61 2006/02/08 12:15:27 stevesk Exp $"); +RCSID("$OpenBSD: auth.c,v 1.62 2006/02/20 17:19:53 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include <libgen.h> #include <paths.h> diff --git a/usr.bin/ssh/auth2-none.c b/usr.bin/ssh/auth2-none.c index 2a4680578cb..d8fe6682ca4 100644 --- a/usr.bin/ssh/auth2-none.c +++ b/usr.bin/ssh/auth2-none.c @@ -23,7 +23,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2-none.c,v 1.7 2004/05/11 19:01:43 deraadt Exp $"); +RCSID("$OpenBSD: auth2-none.c,v 1.8 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include "auth.h" #include "xmalloc.h" diff --git a/usr.bin/ssh/auth2-pubkey.c b/usr.bin/ssh/auth2-pubkey.c index 962ce7c5a90..5749a521d76 100644 --- a/usr.bin/ssh/auth2-pubkey.c +++ b/usr.bin/ssh/auth2-pubkey.c @@ -23,7 +23,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2-pubkey.c,v 1.9 2004/12/11 01:48:56 dtucker Exp $"); +RCSID("$OpenBSD: auth2-pubkey.c,v 1.10 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include "ssh.h" #include "ssh2.h" diff --git a/usr.bin/ssh/authfile.c b/usr.bin/ssh/authfile.c index 3f88b8162a6..65f392506a5 100644 --- a/usr.bin/ssh/authfile.c +++ b/usr.bin/ssh/authfile.c @@ -36,7 +36,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfile.c,v 1.61 2005/06/17 02:44:32 djm Exp $"); +RCSID("$OpenBSD: authfile.c,v 1.62 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include <openssl/err.h> #include <openssl/evp.h> diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 61b49f6cd8b..5467444610d 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -59,9 +59,11 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.153 2006/02/20 17:02:44 stevesk Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.154 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/ioctl.h> +#include <sys/types.h> +#include <sys/stat.h> #include <paths.h> #include <signal.h> diff --git a/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h index 1c6605426d6..d4055039ba0 100644 --- a/usr.bin/ssh/includes.h +++ b/usr.bin/ssh/includes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: includes.h,v 1.35 2006/02/20 17:02:44 stevesk Exp $ */ +/* $OpenBSD: includes.h,v 1.36 2006/02/20 17:19:53 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -22,7 +22,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } #include <sys/types.h> #include <sys/socket.h> #include <sys/param.h> -#include <sys/stat.h> #include <sys/time.h> #include <netinet/in.h> diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c index 6e33cd324dc..d298ae9beba 100644 --- a/usr.bin/ssh/readconf.c +++ b/usr.bin/ssh/readconf.c @@ -12,7 +12,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: readconf.c,v 1.146 2006/02/12 10:44:18 djm Exp $"); +RCSID("$OpenBSD: readconf.c,v 1.147 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include "ssh.h" #include "xmalloc.h" diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c index 48c721faa6f..899bd518de7 100644 --- a/usr.bin/ssh/scp.c +++ b/usr.bin/ssh/scp.c @@ -71,10 +71,11 @@ */ #include "includes.h" -RCSID("$OpenBSD: scp.c,v 1.133 2006/02/20 17:02:44 stevesk Exp $"); +RCSID("$OpenBSD: scp.c,v 1.134 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/types.h> #include <sys/wait.h> +#include <sys/stat.h> #include <dirent.h> #include <signal.h> diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index da5d40f5e80..0dc8ede86b7 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/session.c @@ -33,11 +33,12 @@ */ #include "includes.h" -RCSID("$OpenBSD: session.c,v 1.195 2006/02/20 17:02:44 stevesk Exp $"); +RCSID("$OpenBSD: session.c,v 1.196 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/types.h> #include <sys/wait.h> #include <sys/un.h> +#include <sys/stat.h> #include <paths.h> #include <signal.h> diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c index c2c70ae4fb7..83fa8a4bbed 100644 --- a/usr.bin/ssh/sftp-client.c +++ b/usr.bin/ssh/sftp-client.c @@ -20,9 +20,11 @@ /* XXX: copy between two remote sites */ #include "includes.h" -RCSID("$OpenBSD: sftp-client.c,v 1.59 2006/02/15 05:08:24 david Exp $"); +RCSID("$OpenBSD: sftp-client.c,v 1.60 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/queue.h> +#include <sys/types.h> +#include <sys/stat.h> #include "buffer.h" #include "bufaux.h" diff --git a/usr.bin/ssh/sftp-common.c b/usr.bin/ssh/sftp-common.c index 4cea3c3056a..aa0757561a3 100644 --- a/usr.bin/ssh/sftp-common.c +++ b/usr.bin/ssh/sftp-common.c @@ -24,7 +24,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: sftp-common.c,v 1.10 2003/11/10 16:23:41 jakob Exp $"); +RCSID("$OpenBSD: sftp-common.c,v 1.11 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include "buffer.h" #include "bufaux.h" diff --git a/usr.bin/ssh/sftp-common.h b/usr.bin/ssh/sftp-common.h index 2b1995a2de7..72be6e61cad 100644 --- a/usr.bin/ssh/sftp-common.h +++ b/usr.bin/ssh/sftp-common.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-common.h,v 1.6 2006/01/02 01:20:31 djm Exp $ */ +/* $OpenBSD: sftp-common.h,v 1.7 2006/02/20 17:19:54 stevesk Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -25,6 +25,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/types.h> +#include <sys/stat.h> + /* Maximum packet that we are willing to send/accept */ #define SFTP_MAX_MSG_LENGTH (256 * 1024) diff --git a/usr.bin/ssh/sftp-glob.c b/usr.bin/ssh/sftp-glob.c index c3b540c77bd..0c7b4a6283e 100644 --- a/usr.bin/ssh/sftp-glob.c +++ b/usr.bin/ssh/sftp-glob.c @@ -15,7 +15,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: sftp-glob.c,v 1.16 2006/02/08 23:51:24 stevesk Exp $"); +RCSID("$OpenBSD: sftp-glob.c,v 1.17 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include <dirent.h> #include <glob.h> diff --git a/usr.bin/ssh/sftp-server.c b/usr.bin/ssh/sftp-server.c index 7d8fdf26658..ff2d41a393d 100644 --- a/usr.bin/ssh/sftp-server.c +++ b/usr.bin/ssh/sftp-server.c @@ -14,7 +14,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include "includes.h" -RCSID("$OpenBSD: sftp-server.c,v 1.51 2006/02/08 23:51:24 stevesk Exp $"); +RCSID("$OpenBSD: sftp-server.c,v 1.52 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include <dirent.h> diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c index 1bd4866548c..9691f634b93 100644 --- a/usr.bin/ssh/sftp.c +++ b/usr.bin/ssh/sftp.c @@ -15,11 +15,12 @@ */ #include "includes.h" -RCSID("$OpenBSD: sftp.c,v 1.74 2006/02/20 17:02:44 stevesk Exp $"); +RCSID("$OpenBSD: sftp.c,v 1.75 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/ioctl.h> #include <sys/types.h> #include <sys/wait.h> +#include <sys/stat.h> #include <glob.h> #include <histedit.h> diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index b0e2d5f24a5..2e1998b78ad 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/ssh-add.c @@ -35,7 +35,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.74 2005/11/12 18:37:59 deraadt Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.75 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include <openssl/evp.h> diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index efb891df60f..2605883a897 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -12,7 +12,10 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keygen.c,v 1.135 2005/11/29 02:04:55 dtucker Exp $"); +RCSID("$OpenBSD: ssh-keygen.c,v 1.136 2006/02/20 17:19:54 stevesk Exp $"); + +#include <sys/types.h> +#include <sys/stat.h> #include <openssl/evp.h> #include <openssl/pem.h> diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 57616e43acb..ea5f7101a77 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -40,12 +40,13 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.263 2006/02/20 17:02:44 stevesk Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.264 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/resource.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/un.h> +#include <sys/stat.h> #include <paths.h> #include <signal.h> diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index 8df68948e20..750baf8c345 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -13,10 +13,11 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect.c,v 1.174 2006/02/10 01:44:27 stevesk Exp $"); +RCSID("$OpenBSD: sshconnect.c,v 1.175 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/types.h> #include <sys/wait.h> +#include <sys/stat.h> #include <paths.h> diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 85f33e4db2a..06fc8893017 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -23,11 +23,12 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.145 2006/02/10 01:44:27 stevesk Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.146 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/types.h> #include <sys/wait.h> #include <sys/queue.h> +#include <sys/stat.h> #include "ssh.h" #include "ssh2.h" diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index bbb2c5edee0..b4e08105a6c 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -42,11 +42,12 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.322 2006/02/20 17:02:44 stevesk Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.323 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/ioctl.h> #include <sys/types.h> #include <sys/wait.h> +#include <sys/stat.h> #include <paths.h> #include <signal.h> diff --git a/usr.bin/ssh/sshpty.c b/usr.bin/ssh/sshpty.c index bddd46925b4..d9e0307a8a3 100644 --- a/usr.bin/ssh/sshpty.c +++ b/usr.bin/ssh/sshpty.c @@ -12,9 +12,11 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshpty.c,v 1.15 2006/02/10 00:27:13 stevesk Exp $"); +RCSID("$OpenBSD: sshpty.c,v 1.16 2006/02/20 17:19:54 stevesk Exp $"); #include <sys/ioctl.h> +#include <sys/types.h> +#include <sys/stat.h> #include <paths.h> #include <termios.h> |