summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2006-07-10 16:01:58 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2006-07-10 16:01:58 +0000
commitc87ca427181d9789b3235adb97f2946c4b6e5354 (patch)
tree42d468b426cd8db3170f9a5290de8dd26db7966b /usr.bin
parentc53ccee9bfa0df5d4d3bfbe8908c7a9973a0bca9 (diff)
buffer.h only needed in sftp-common.h and remove some unneeded
user includes; ok djm@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/sftp-common.h4
-rw-r--r--usr.bin/ssh/sftp-glob.c5
-rw-r--r--usr.bin/ssh/sftp.c3
3 files changed, 5 insertions, 7 deletions
diff --git a/usr.bin/ssh/sftp-common.h b/usr.bin/ssh/sftp-common.h
index 88c76c17e03..9a64dc52208 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.8 2006/03/25 22:22:43 djm Exp $ */
+/* $OpenBSD: sftp-common.h,v 1.9 2006/07/10 16:01:57 stevesk Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -28,6 +28,8 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include "buffer.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 32bdee86f01..f1d68b11559 100644
--- a/usr.bin/ssh/sftp-glob.c
+++ b/usr.bin/ssh/sftp-glob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-glob.c,v 1.19 2006/03/25 13:17:02 djm Exp $ */
+/* $OpenBSD: sftp-glob.c,v 1.20 2006/07/10 16:01:57 stevesk Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@ -23,10 +23,7 @@
#include <dirent.h>
#include <glob.h>
-#include "buffer.h"
-#include "bufaux.h"
#include "xmalloc.h"
-#include "log.h"
#include "sftp.h"
#include "sftp-common.h"
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c
index ab9d3371e01..83076df47f4 100644
--- a/usr.bin/ssh/sftp.c
+++ b/usr.bin/ssh/sftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.c,v 1.83 2006/07/08 21:47:12 stevesk Exp $ */
+/* $OpenBSD: sftp.c,v 1.84 2006/07/10 16:01:57 stevesk Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@ -28,7 +28,6 @@
#include <paths.h>
#include <signal.h>
-#include "buffer.h"
#include "xmalloc.h"
#include "log.h"
#include "pathnames.h"