summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp/edspindexfile.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-11-06 12:41:04 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-11-08 14:28:28 +0100
commitdce45dbe97531de6806707445da97d3f22285db8 (patch)
tree0654bf91d059ef5d6056936a1e18ad8743604c8d /apt-pkg/edsp/edspindexfile.cc
parentf105aaba433f5a8b9c4326dd0d704501bf07d1e5 (diff)
mark internal interfaces as hidden
We have a bunch of classes which are of no use for the outside world, but were still exported and so needed to preserve ABI/API. Marking them as hidden to not export them any longer is a big API break in theory, but in practice nobody is using them – as if they would its a bug.
Diffstat (limited to 'apt-pkg/edsp/edspindexfile.cc')
-rw-r--r--apt-pkg/edsp/edspindexfile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/edsp/edspindexfile.cc b/apt-pkg/edsp/edspindexfile.cc
index c38f24567..d00536362 100644
--- a/apt-pkg/edsp/edspindexfile.cc
+++ b/apt-pkg/edsp/edspindexfile.cc
@@ -65,7 +65,7 @@ bool edspIndex::Merge(pkgCacheGenerator &Gen,OpProgress *Prog) const
}
/*}}}*/
// Index File types for APT /*{{{*/
-class edspIFType: public pkgIndexFile::Type
+class APT_HIDDEN edspIFType: public pkgIndexFile::Type
{
public:
virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator) const
@@ -75,7 +75,7 @@ class edspIFType: public pkgIndexFile::Type
};
edspIFType() {Label = "EDSP scenario file";};
};
-static edspIFType _apt_Universe;
+APT_HIDDEN edspIFType _apt_Universe;
const pkgIndexFile::Type *edspIndex::GetType() const
{