macros: add NM_BACKPORT_SYMBOL()
authorDan Winship <danw@redhat.com>
Wed, 21 Jan 2015 15:01:26 +0000 (10:01 -0500)
committerThomas Haller <thaller@redhat.com>
Fri, 26 Jun 2015 14:28:33 +0000 (16:28 +0200)
commit64ff214bb84a576c9490b73fc373e31d2c15fe53
treee7c7bc6f5dce36ca212888bded9ec7bb4d6a98d1
parent8a1f4beb65111b88b1114afac96c33a9970301c5
macros: add NM_BACKPORT_SYMBOL()

Add a macro to insert the necessary compiler/linker magic to add a
copy of an existing symbol to an older version. Also, update
check-exports.sh to be able to check for such symbols by listed them
commented-out in the appropriate section.

[thaller@redhat.com: patch modified]

Related: https://bugzilla.gnome.org/show_bug.cgi?id=742993
include/nm-macros-internal.h
tools/check-exports.sh