summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-08-13 19:15:19 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-26 20:34:54 +0100
commitdb678df196ccd8f9f6fb336706cf5701d1e53aa6 (patch)
treea7937ab9aba3556760f0040727066a84a41f0006 /apt-pkg/policy.h
parentc38e0047d95305e5984e822f670055cde6aa5f6a (diff)
apt-pkg: default visibility to hidden
Diffstat (limited to 'apt-pkg/policy.h')
-rw-r--r--apt-pkg/policy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/policy.h b/apt-pkg/policy.h
index 2fd2f8197..7f30d40ed 100644
--- a/apt-pkg/policy.h
+++ b/apt-pkg/policy.h
@@ -40,7 +40,7 @@
#include <vector>
-class pkgPolicy : public pkgDepCache::Policy
+class APT_PUBLIC pkgPolicy : public pkgDepCache::Policy
{
protected:
@@ -86,7 +86,7 @@ class pkgPolicy : public pkgDepCache::Policy
void * const d;
};
-bool ReadPinFile(pkgPolicy &Plcy, std::string File = "");
-bool ReadPinDir(pkgPolicy &Plcy, std::string Dir = "");
+APT_PUBLIC bool ReadPinFile(pkgPolicy &Plcy, std::string File = "");
+APT_PUBLIC bool ReadPinDir(pkgPolicy &Plcy, std::string Dir = "");
#endif