summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-03-22 22:18:05 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-03-22 22:18:05 +0100
commit136a6c13c8df7c403dd5284ff8bda20c8a84b614 (patch)
treeceb50a84e8f196acfe7d3746bfff49b515203cc8 /apt-pkg/deb/dpkgpm.cc
parent3a496cd2c06bf00d8386ff9c56e2fd26eb61ec5a (diff)
make these retry_write methods static so that they don't end up as symbols
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r--apt-pkg/deb/dpkgpm.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 63c5a6380..1a21c03eb 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -163,7 +163,8 @@ pkgCache::VerIterator FindNowVersion(const pkgCache::PkgIterator &Pkg)
return Ver;
}
/*}}}*/
-ssize_t retry_write(int fd, const void *buf, size_t count)
+static ssize_t
+retry_write(int fd, const void *buf, size_t count)
{
int Res;
ssize_t i = 0;