aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2021-03-20 18:12:37 +0100
committerGregor Jasny <gjasny@googlemail.com>2021-03-20 18:13:15 +0100
commit6e2fdceac7cbaf9ae9d9b01e8a8f4b6f949262ae (patch)
tree17162bced07a6bcdb0893aa6f42d89ad4d8a9a4e
parent595c1797983214f3bff7c1bb4882f1b894ea3004 (diff)
downloadv4l-utils-6e2fdceac7cbaf9ae9d9b01e8a8f4b6f949262ae.tar.gz
libdvbv5: hide stack_dump symbols and provide soname compatibility
-rw-r--r--lib/libdvbv5/compat-soname.c5
-rw-r--r--lib/libdvbv5/dvb-dev-remote.c2
-rw-r--r--utils/dvb/dvbv5-daemon.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/lib/libdvbv5/compat-soname.c b/lib/libdvbv5/compat-soname.c
index 495541a0..3ed7f72b 100644
--- a/lib/libdvbv5/compat-soname.c
+++ b/lib/libdvbv5/compat-soname.c
@@ -78,3 +78,8 @@ struct dvb_dev_list *dvb_remote_seek_by_sysname(struct dvb_device_priv *dvb,
{
return dvb_remote_seek_by_adapter(dvb, adapter, num, type);
}
+
+void stack_dump()
+{
+ /* preserve soname compatibility until next soname bump */
+}
diff --git a/lib/libdvbv5/dvb-dev-remote.c b/lib/libdvbv5/dvb-dev-remote.c
index f55fbb98..fa551b82 100644
--- a/lib/libdvbv5/dvb-dev-remote.c
+++ b/lib/libdvbv5/dvb-dev-remote.c
@@ -124,7 +124,7 @@ static char *my_strlcpy(char *dst, const char *src, size_t siz)
return rc;
}
-void stack_dump(struct dvb_v5_fe_parms_priv *parms)
+static void stack_dump(struct dvb_v5_fe_parms_priv *parms)
{
#ifdef HAVE_BACKTRACE
int i, nptrs = 0;
diff --git a/utils/dvb/dvbv5-daemon.c b/utils/dvb/dvbv5-daemon.c
index ac122b15..d9b70181 100644
--- a/utils/dvb/dvbv5-daemon.c
+++ b/utils/dvb/dvbv5-daemon.c
@@ -216,7 +216,7 @@ static nfds_t numfds = 0;
static char output_charset[256] = "utf-8";
static char default_charset[256] = "iso-8859-1";
-void stack_dump()
+static void stack_dump(void)
{
#ifdef HAVE_BACKTRACE
int i, nptrs = 0;