]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-helper.cc
avoid triggering gpg2 migration in apt-key
[apt.git] / cmdline / apt-helper.cc
index 1be122ad0d9144e6d072b0290fc4d9cd80dc776f..5a29427c8859ed1ed3a7141ea7112b621cfef37b 100644 (file)
@@ -29,6 +29,8 @@
 #include <string>
 #include <vector>
 
+#include <stdlib.h>
+
 #include <apti18n.h>
                                                                        /*}}}*/
 
@@ -105,7 +107,7 @@ static bool DoSrvLookup(CommandLine &CmdL)                          /*{{{*/
    return true;
 }
                                                                        /*}}}*/
-bool ShowHelp(CommandLine &)                                           /*{{{*/
+static bool ShowHelp(CommandLine &)                                    /*{{{*/
 {
    std::cout <<
       _("Usage: apt-helper [options] command\n"
@@ -116,7 +118,7 @@ bool ShowHelp(CommandLine &)                                                /*{{{*/
    return true;
 }
                                                                        /*}}}*/
-std::vector<aptDispatchWithHelp> GetCommands()                         /*{{{*/
+static std::vector<aptDispatchWithHelp> GetCommands()                  /*{{{*/
 {
    return {
       {"download-file", &DoDownloadFile, _("download the given uri to the target-path")},