summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-11 15:00:17 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-11 15:01:16 +0100
commit9596cb945aee8ab78f37b925e0691a7cc1488d56 (patch)
tree7974e9eb5f7a47e3c43afd1e72de734ba21c0af1
parent027010953973bc868262a110e79610880610728d (diff)
apt-internal-solver: Make ShowHelp() and GetCommands() static
This fixes a warning reported by gcc. Gbp-Dch: ignore
-rw-r--r--cmdline/apt-internal-solver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-internal-solver.cc b/cmdline/apt-internal-solver.cc
index 90800e1d9..b88d745c4 100644
--- a/cmdline/apt-internal-solver.cc
+++ b/cmdline/apt-internal-solver.cc
@@ -41,7 +41,7 @@
#include <apti18n.h>
/*}}}*/
-bool ShowHelp(CommandLine &) /*{{{*/
+static bool ShowHelp(CommandLine &) /*{{{*/
{
std::cout <<
_("Usage: apt-internal-solver\n"
@@ -58,7 +58,7 @@ APT_NORETURN static void DIE(std::string const &message) { /*{{{*/
exit(EXIT_FAILURE);
}
/*}}}*/
-std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/
+static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/
{
return {};
}