From 9596cb945aee8ab78f37b925e0691a7cc1488d56 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 11 Dec 2015 15:00:17 +0100 Subject: apt-internal-solver: Make ShowHelp() and GetCommands() static This fixes a warning reported by gcc. Gbp-Dch: ignore --- cmdline/apt-internal-solver.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmdline') 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 /*}}}*/ -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 GetCommands() /*{{{*/ +static std::vector GetCommands() /*{{{*/ { return {}; } -- cgit v1.2.3