summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2008-06-10 19:28:58 -0700
committerDaniel Burrows <dburrows@debian.org>2008-06-10 19:28:58 -0700
commitbbd0fe6ff73d9a3188ba7bcb07cd357b710edc15 (patch)
treec5ec17f15041c6e074190d40700b3d272b9407a1
parent74f9b544d2b71ed37e18baf7d864d0d6e2d45628 (diff)
downloadaptitude-bbd0fe6ff73d9a3188ba7bcb07cd357b710edc15.tar.gz
Since the return value of do_cmdline_changelog is never used and isn't meaningful, don't return anything at all.
-rw-r--r--src/cmdline/cmdline_changelog.cc2
-rw-r--r--src/cmdline/cmdline_changelog.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmdline/cmdline_changelog.cc b/src/cmdline/cmdline_changelog.cc
index 8517cae0..01ab27cf 100644
--- a/src/cmdline/cmdline_changelog.cc
+++ b/src/cmdline/cmdline_changelog.cc
@@ -87,7 +87,7 @@ temp::name changelog_by_version(const std::string &pkg,
}
}
-bool do_cmdline_changelog(const vector<string> &packages)
+void do_cmdline_changelog(const vector<string> &packages)
{
const char *pager="/usr/bin/sensible-pager";
diff --git a/src/cmdline/cmdline_changelog.h b/src/cmdline/cmdline_changelog.h
index dcc35783..55b85dad 100644
--- a/src/cmdline/cmdline_changelog.h
+++ b/src/cmdline/cmdline_changelog.h
@@ -16,7 +16,7 @@
* The specifiers are literal package names, with optional version/archive
* descriptors. DumpErrors() is called after each changelog is displayed.
*/
-bool do_cmdline_changelog(const std::vector<std::string> &packages);
+void do_cmdline_changelog(const std::vector<std::string> &packages);
int cmdline_changelog(int argc, char *argv[]);