]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cache.cc
apt-helper.cc: include <stdlib.h> for atoi
[apt.git] / cmdline / apt-cache.cc
index f68e739b164f6db8ed25a520a876a043761c2e1c..247f612c2a35bcfac2136b50cc91393be75fdb1f 100644 (file)
@@ -1100,7 +1100,7 @@ static bool GenCaches(CommandLine &)
    return CacheFile.BuildCaches(&Progress, true);
 }
                                                                        /*}}}*/
-bool ShowHelp(CommandLine &)                                           /*{{{*/
+static bool ShowHelp(CommandLine &)                                    /*{{{*/
 {
    std::cout <<
     _("Usage: apt-cache [options] command\n"
@@ -1115,7 +1115,7 @@ bool ShowHelp(CommandLine &)                                              /*{{{*/
    return true;
 }
                                                                        /*}}}*/
-std::vector<aptDispatchWithHelp> GetCommands()                         /*{{{*/
+static std::vector<aptDispatchWithHelp> GetCommands()                  /*{{{*/
 {
    return {
       {"gencaches",&GenCaches, nullptr},