summaryrefslogtreecommitdiff
path: root/sftp-client.c
diff options
context:
space:
mode:
authordtucker <dtucker>2008-06-08 17:32:29 +0000
committerdtucker <dtucker>2008-06-08 17:32:29 +0000
commit2d0497c0822c25d2c29296a7263a510a3f450b52 (patch)
tree078ce76f36a7f382839660ef5e97ac679ec34dde /sftp-client.c
parent21245591d3fb6b37ee4ba8aa0aaba032987f570d (diff)
downloadopenssh-2d0497c0822c25d2c29296a7263a510a3f450b52.tar.gz
- (dtucker) [configure.ac defines.h sftp-client.c sftp-server.c sftp.c
openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h openbsd-compat/bsd-statvfs.{c,h}] Add a null implementation of statvfs and fstatvfs and remove #defines around statvfs code. ok djm@
Diffstat (limited to 'sftp-client.c')
-rw-r--r--sftp-client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sftp-client.c b/sftp-client.c
index 512a8ad4..1fda576b 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -243,7 +243,6 @@ get_decode_stat(int fd, u_int expected_id, int quiet)
return(a);
}
-#ifdef USE_STATVFS
static int
get_decode_statvfs(int fd, struct statvfs *st, u_int expected_id, int quiet)
{
@@ -293,7 +292,6 @@ get_decode_statvfs(int fd, struct statvfs *st, u_int expected_id, int quiet)
return 0;
}
-#endif
struct sftp_conn *
do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests)
@@ -813,7 +811,6 @@ do_readlink(struct sftp_conn *conn, char *path)
}
#endif
-#ifdef USE_STATVFS
int
do_statvfs(struct sftp_conn *conn, const char *path, struct statvfs *st,
int quiet)
@@ -839,7 +836,6 @@ do_statvfs(struct sftp_conn *conn, const char *path, struct statvfs *st,
return get_decode_statvfs(conn->fd_in, st, id, quiet);
}
-#endif
#ifdef notyet
int