From: Julian Andres Klode <jak@debian.org>
Date: Fri, 11 Dec 2015 14:00:17 +0000 (+0100)
Subject: apt-internal-solver: Make ShowHelp() and GetCommands() static
X-Git-Tag: 1.1.5~25
X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/9596cb945aee8ab78f37b925e0691a7cc1488d56

apt-internal-solver: Make ShowHelp() and GetCommands() static

This fixes a warning reported by gcc.

Gbp-Dch: ignore
---

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 {};
 }