summaryrefslogtreecommitdiff
path: root/apt-private/private-utils.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-07-22 12:33:45 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-07-22 16:05:09 +0200
commit503c7d594125f963b92047ad2d9d0644f39136c7 (patch)
tree36f0aebed7244ad138cd1705e80a8e05126c90a9 /apt-private/private-utils.h
parenta913e64ead6ada2adae6fb5f35212187ad5acd01 (diff)
report warnings&errors consistently in edit-sources
After editing the sources it is a good idea to (re)built the caches as they will be out-of-date and doing so helps in reporting higherlevel errors like duplicates sources.list entries, too, instead of just general parsing errors as before.
Diffstat (limited to 'apt-private/private-utils.h')
-rw-r--r--apt-private/private-utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/apt-private/private-utils.h b/apt-private/private-utils.h
index 8ba480bd4..b3b249689 100644
--- a/apt-private/private-utils.h
+++ b/apt-private/private-utils.h
@@ -1,11 +1,9 @@
#ifndef APT_PRIVATE_UTILS_H
#define APT_PRIVATE_UTILS_H
-#include <apt-pkg/macros.h>
-
#include <string>
-APT_PUBLIC void DisplayFileInPager(std::string const &filename);
-APT_PUBLIC void EditFileInSensibleEditor(std::string const &filename);
+bool DisplayFileInPager(std::string const &filename);
+bool EditFileInSensibleEditor(std::string const &filename);
#endif