summaryrefslogtreecommitdiff
path: root/src/arbits
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-18 07:06:15 +0000
committermidipix <writeonce@midipix.org>2024-02-18 07:37:54 +0000
commit4b56dee0873d57ed2a0891a4a2370d20d46845c3 (patch)
tree36b1645696d42bed98625964f471ad8cbcdb19fe /src/arbits
parentd603a45e5710cc897681c3395188d7376593dcbe (diff)
downloadslibtool-4b56dee0873d57ed2a0891a4a2370d20d46845c3.tar.bz2
slibtool-4b56dee0873d57ed2a0891a4a2370d20d46845c3.tar.xz
code base: set the visilbity of internal library interfaces to hidden.
Diffstat (limited to 'src/arbits')
-rw-r--r--src/arbits/slbt_archive_mapstrv.c3
-rw-r--r--src/arbits/slbt_archive_meta.c3
-rw-r--r--src/arbits/slbt_armap_bsd_32.c3
-rw-r--r--src/arbits/slbt_armap_bsd_64.c3
-rw-r--r--src/arbits/slbt_armap_sysv_32.c3
-rw-r--r--src/arbits/slbt_armap_sysv_64.c3
6 files changed, 12 insertions, 6 deletions
diff --git a/src/arbits/slbt_archive_mapstrv.c b/src/arbits/slbt_archive_mapstrv.c
index eadf809..f57765a 100644
--- a/src/arbits/slbt_archive_mapstrv.c
+++ b/src/arbits/slbt_archive_mapstrv.c
@@ -9,6 +9,7 @@
#include <slibtool/slibtool.h>
#include "slibtool_driver_impl.h"
#include "slibtool_errinfo_impl.h"
+#include "slibtool_visibility_impl.h"
#include "slibtool_ar_impl.h"
static int slbt_strcmp(const void * a, const void * b)
@@ -16,7 +17,7 @@ static int slbt_strcmp(const void * a, const void * b)
return strcmp(*(const char **)a,*(const char **)b);
}
-int slbt_update_mapstrv(
+slbt_hidden int slbt_update_mapstrv(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * mctx)
{
diff --git a/src/arbits/slbt_archive_meta.c b/src/arbits/slbt_archive_meta.c
index f4ae050..f3dd39e 100644
--- a/src/arbits/slbt_archive_meta.c
+++ b/src/arbits/slbt_archive_meta.c
@@ -15,6 +15,7 @@
#include "slibtool_ar_impl.h"
#include "slibtool_driver_impl.h"
#include "slibtool_errinfo_impl.h"
+#include "slibtool_visibility_impl.h"
/* transient header info vector */
struct ar_header_info {
@@ -279,7 +280,7 @@ static int slbt_ar_parse_primary_armap(
return SLBT_CUSTOM_ERROR(dctx,SLBT_ERR_FLOW_ERROR);
}
-struct ar_meta_member_info * slbt_archive_member_from_offset(
+slbt_hidden struct ar_meta_member_info * slbt_archive_member_from_offset(
struct slbt_archive_meta_impl * meta,
off_t offset)
{
diff --git a/src/arbits/slbt_armap_bsd_32.c b/src/arbits/slbt_armap_bsd_32.c
index f41c500..45467f3 100644
--- a/src/arbits/slbt_armap_bsd_32.c
+++ b/src/arbits/slbt_armap_bsd_32.c
@@ -14,8 +14,9 @@
#include "slibtool_ar_impl.h"
#include "slibtool_driver_impl.h"
#include "slibtool_errinfo_impl.h"
+#include "slibtool_visibility_impl.h"
-int slbt_ar_parse_primary_armap_bsd_32(
+slbt_hidden int slbt_ar_parse_primary_armap_bsd_32(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * m)
diff --git a/src/arbits/slbt_armap_bsd_64.c b/src/arbits/slbt_armap_bsd_64.c
index 6dcc737..5a9a4dc 100644
--- a/src/arbits/slbt_armap_bsd_64.c
+++ b/src/arbits/slbt_armap_bsd_64.c
@@ -14,8 +14,9 @@
#include "slibtool_ar_impl.h"
#include "slibtool_driver_impl.h"
#include "slibtool_errinfo_impl.h"
+#include "slibtool_visibility_impl.h"
-int slbt_ar_parse_primary_armap_bsd_64(
+slbt_hidden int slbt_ar_parse_primary_armap_bsd_64(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * m)
{
diff --git a/src/arbits/slbt_armap_sysv_32.c b/src/arbits/slbt_armap_sysv_32.c
index 12840ef..09d88b5 100644
--- a/src/arbits/slbt_armap_sysv_32.c
+++ b/src/arbits/slbt_armap_sysv_32.c
@@ -14,8 +14,9 @@
#include "slibtool_ar_impl.h"
#include "slibtool_driver_impl.h"
#include "slibtool_errinfo_impl.h"
+#include "slibtool_visibility_impl.h"
-int slbt_ar_parse_primary_armap_sysv_32(
+slbt_hidden int slbt_ar_parse_primary_armap_sysv_32(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * m)
{
diff --git a/src/arbits/slbt_armap_sysv_64.c b/src/arbits/slbt_armap_sysv_64.c
index 3149ee2..1af588a 100644
--- a/src/arbits/slbt_armap_sysv_64.c
+++ b/src/arbits/slbt_armap_sysv_64.c
@@ -14,8 +14,9 @@
#include "slibtool_ar_impl.h"
#include "slibtool_driver_impl.h"
#include "slibtool_errinfo_impl.h"
+#include "slibtool_visibility_impl.h"
-int slbt_ar_parse_primary_armap_sysv_64(
+slbt_hidden int slbt_ar_parse_primary_armap_sysv_64(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * m)
{