Просмотр исходного кода

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

This fixes a warning reported by gcc.

Gbp-Dch: ignore
Julian Andres Klode лет назад: 10
Родитель
Сommit
9596cb945a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      cmdline/apt-internal-solver.cc

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