diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-08-13 19:15:19 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-26 20:34:54 +0100 |
commit | db678df196ccd8f9f6fb336706cf5701d1e53aa6 (patch) | |
tree | a7937ab9aba3556760f0040727066a84a41f0006 /apt-pkg/algorithms.h | |
parent | c38e0047d95305e5984e822f670055cde6aa5f6a (diff) |
apt-pkg: default visibility to hidden
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r-- | apt-pkg/algorithms.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index 1672231ff..fc578a4ca 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -42,12 +42,12 @@ class pkgSimulatePrivate; -class pkgSimulate : public pkgPackageManager /*{{{*/ +class APT_PUBLIC pkgSimulate : public pkgPackageManager /*{{{*/ { pkgSimulatePrivate * const d; protected: - class Policy : public pkgDepCache::Policy + class APT_PUBLIC Policy : public pkgDepCache::Policy { pkgDepCache *Cache; public: @@ -87,7 +87,7 @@ private: virtual ~pkgSimulate(); }; /*}}}*/ -class pkgProblemResolver /*{{{*/ +class APT_PUBLIC pkgProblemResolver /*{{{*/ { private: /** \brief dpointer placeholder (for later in case we need it) */ @@ -111,7 +111,7 @@ class pkgProblemResolver /*{{{*/ // Sort stuff APT_HIDDEN int ScoreSort(Package const *A, Package const *B) APT_PURE; - struct PackageKill + struct APT_PUBLIC PackageKill { PkgIterator Pkg; DepIterator Dep; @@ -141,10 +141,10 @@ class pkgProblemResolver /*{{{*/ virtual ~pkgProblemResolver(); }; /*}}}*/ -bool pkgApplyStatus(pkgDepCache &Cache); -bool pkgFixBroken(pkgDepCache &Cache); +APT_PUBLIC bool pkgApplyStatus(pkgDepCache &Cache); +APT_PUBLIC bool pkgFixBroken(pkgDepCache &Cache); -void pkgPrioSortList(pkgCache &Cache,pkgCache::Version **List); +APT_PUBLIC void pkgPrioSortList(pkgCache &Cache,pkgCache::Version **List); #endif |