diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-22 22:18:05 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-22 22:18:05 +0100 |
commit | 136a6c13c8df7c403dd5284ff8bda20c8a84b614 (patch) | |
tree | ceb50a84e8f196acfe7d3746bfff49b515203cc8 /methods/rred.cc | |
parent | 3a496cd2c06bf00d8386ff9c56e2fd26eb61ec5a (diff) | |
download | apt-136a6c13c8df7c403dd5284ff8bda20c8a84b614.tar.gz |
make these retry_write methods static so that they don't end up as symbols
Diffstat (limited to 'methods/rred.cc')
-rw-r--r-- | methods/rred.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/rred.cc b/methods/rred.cc index 38554464d..78d1595d4 100644 --- a/methods/rred.cc +++ b/methods/rred.cc @@ -227,7 +227,7 @@ struct EdCommand { char type; }; #define IOV_COUNT 1024 /* Don't really want IOV_MAX since it can be arbitrarily large */ -ssize_t retry_writev(int fd, const struct iovec *iov, int iovcnt) { +static ssize_t retry_writev(int fd, const struct iovec *iov, int iovcnt) { ssize_t Res; errno = 0; ssize_t i = 0; |