summaryrefslogtreecommitdiff
path: root/apt-pkg/init.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/init.h
parentc38e0047d95305e5984e822f670055cde6aa5f6a (diff)
apt-pkg: default visibility to hidden
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