summaryrefslogtreecommitdiff
path: root/apt-pkg/init.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-02-26 20:26:42 +0000
committerJulian Andres Klode <jak@debian.org>2020-02-26 20:26:42 +0000
commitbe22f24669bb6731b5835dc0e1b459d821683a9c (patch)
treea7937ab9aba3556760f0040727066a84a41f0006 /apt-pkg/init.h
parentc38e0047d95305e5984e822f670055cde6aa5f6a (diff)
parentdb678df196ccd8f9f6fb336706cf5701d1e53aa6 (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.h9
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