]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
pkgCacheGenerator: Use StringView for toString
[apt.git] / cmdline / apt-get.cc
index b8d72a0bcdc177c240e8a068963fdbf9c55c91f2..3bd4834260eac6f838e4477bf888f09a60df6e45 100644 (file)
@@ -343,7 +343,7 @@ static bool DoIndexTargets(CommandLine &CmdL)
    return true;
 }
                                                                        /*}}}*/
-bool ShowHelp(CommandLine &)                                           /*{{{*/
+static bool ShowHelp(CommandLine &)                                    /*{{{*/
 {
    if (_config->FindB("version") == true)
    {
@@ -399,7 +399,7 @@ bool ShowHelp(CommandLine &)                                                /*{{{*/
    return true;
 }
                                                                        /*}}}*/
-std::vector<aptDispatchWithHelp> GetCommands()                         /*{{{*/
+static std::vector<aptDispatchWithHelp> GetCommands()                  /*{{{*/
 {
    return {
       {"update", &DoUpdate, _("Retrieve new lists of packages")},