]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.cc
make these retry_write methods static so that they don't end up as symbols
[apt.git] / apt-pkg / deb / dpkgpm.cc
index 63c5a63809bc92d7e5bd8239967c2fe9cb24ab74..1a21c03ebe2be6e67ef4c5b548495468ef630e6e 100644 (file)
@@ -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;