summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-06 13:19:45 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-06 14:15:09 -0500
commit9304ef91c563263cfd914fb32b6ca118bf60d60e (patch)
tree0ac88a11adc2fed192d1afb154f7a5430f3e5690
parentf28cbd0382ca53baa99803bbc907a469fbf68128 (diff)
libsystemd-journal: export new function, increase library version
Since sd_journal_reliable_fd wasn't exported before, it is as if it was added now. Library "current" number must be bumped. michich> Someone links with the fixed version and produces a RPM with his program. The RPM will happily install on a system with an old systemd version (the deps will appear fine), but the program will fail to run.
-rw-r--r--Makefile.am6
-rw-r--r--src/journal/libsystemd-journal.sym6
2 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index a7b9e7f129..7b1bac5e50 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,9 +51,9 @@ LIBSYSTEMD_ID128_CURRENT=0
LIBSYSTEMD_ID128_REVISION=17
LIBSYSTEMD_ID128_AGE=0
-LIBSYSTEMD_JOURNAL_CURRENT=7
-LIBSYSTEMD_JOURNAL_REVISION=1
-LIBSYSTEMD_JOURNAL_AGE=7
+LIBSYSTEMD_JOURNAL_CURRENT=8
+LIBSYSTEMD_JOURNAL_REVISION=0
+LIBSYSTEMD_JOURNAL_AGE=8
# Dirs of external packages
dbuspolicydir=@dbuspolicydir@
diff --git a/src/journal/libsystemd-journal.sym b/src/journal/libsystemd-journal.sym
index 67741770c9..fbe41501f0 100644
--- a/src/journal/libsystemd-journal.sym
+++ b/src/journal/libsystemd-journal.sym
@@ -83,9 +83,13 @@ global:
LIBSYSTEMD_JOURNAL_196 {
global:
- sd_journal_reliable_fd;
sd_journal_get_catalog;
sd_journal_get_catalog_for_message_id;
sd_journal_set_data_threshold;
sd_journal_get_data_threshold;
} LIBSYSTEMD_JOURNAL_195;
+
+LIBSYSTEMD_JOURNAL_198 {
+global:
+ sd_journal_reliable_fd;
+} LIBSYSTEMD_JOURNAL_196;