diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-02-27 03:11:54 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-13 13:58:45 +0100 |
commit | c3ccac9232c2684b15f75fa8622a9a290aeca123 (patch) | |
tree | 26f100be934b8d63ac2d325406b8411ce69cda8d /cmdline/apt-sortpkgs.cc | |
parent | e788a834ce421042e727b72e43177edaa47e53a7 (diff) |
warning: no previous declaration for foobar() [-Wmissing-declarations]
Git-Dch: Ignore
Reported-By: gcc -Wmissing-declarations
Diffstat (limited to 'cmdline/apt-sortpkgs.cc')
-rw-r--r-- | cmdline/apt-sortpkgs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-sortpkgs.cc b/cmdline/apt-sortpkgs.cc index 46989044e..8d9cb23de 100644 --- a/cmdline/apt-sortpkgs.cc +++ b/cmdline/apt-sortpkgs.cc @@ -62,7 +62,7 @@ struct PkgName /*{{{*/ // DoIt - Sort a single file /*{{{*/ // --------------------------------------------------------------------- /* */ -bool DoIt(string InFile) +static bool DoIt(string InFile) { FileFd Fd(InFile,FileFd::ReadOnly); pkgTagFile Tags(&Fd); @@ -142,7 +142,7 @@ bool DoIt(string InFile) // ShowHelp - Show the help text /*{{{*/ // --------------------------------------------------------------------- /* */ -int ShowHelp() +static int ShowHelp() { ioprintf(cout,_("%s %s for %s compiled on %s %s\n"),PACKAGE,PACKAGE_VERSION, COMMON_ARCH,__DATE__,__TIME__); |