]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-show.cc
get sources for packages in multiple releases again
[apt.git] / apt-private / private-show.cc
index 6fb3791f829cd4d7f34aed7d1691384fc6c4f5eb..792c455a8285ecee38ed00fd2328e3e0822c4131 100644 (file)
@@ -299,9 +299,9 @@ bool ShowPackage(CommandLine &CmdL)                                 /*{{{*/
    return true;
 }
                                                                        /*}}}*/
-// XXX: move to hashes.h: HashString::FromString() ?                   /*{{{*/
-std::string Sha1FromString(std::string input)
+static std::string Sha1FromString(std::string const &input)            /*{{{*/
 {
+   // XXX: move to hashes.h: HashString::FromString() ?
    SHA1Summation sha1;
    sha1.Add(input.c_str(), input.length());
    return sha1.Result().Value();