diff options
author | Julian Andres Klode <jak@debian.org> | 2020-02-26 20:26:42 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2020-02-26 20:26:42 +0000 |
commit | be22f24669bb6731b5835dc0e1b459d821683a9c (patch) | |
tree | a7937ab9aba3556760f0040727066a84a41f0006 /apt-pkg/init.h | |
parent | c38e0047d95305e5984e822f670055cde6aa5f6a (diff) | |
parent | db678df196ccd8f9f6fb336706cf5701d1e53aa6 (diff) |
Merge branch 'pu/visibility' into 'master'
apt-pkg: default visibility to hidden
See merge request apt-team/apt!108
Diffstat (limited to 'apt-pkg/init.h')
-rw-r--r-- | apt-pkg/init.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apt-pkg/init.h b/apt-pkg/init.h index 9b26965b3..431e8a548 100644 --- a/apt-pkg/init.h +++ b/apt-pkg/init.h @@ -12,14 +12,15 @@ #ifndef PKGLIB_INIT_H #define PKGLIB_INIT_H +#include <apt-pkg/macros.h> class pkgSystem; class Configuration; -extern const char *pkgVersion; -extern const char *pkgLibVersion; +APT_PUBLIC extern const char *pkgVersion; +APT_PUBLIC extern const char *pkgLibVersion; -bool pkgInitConfig(Configuration &Cnf); -bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys); +APT_PUBLIC bool pkgInitConfig(Configuration &Cnf); +APT_PUBLIC bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys); #endif |