libfdisk: fix symbols versioning script

Really stupid copy & past mistake. The libfdisk symbols should not be
prefixed by MOUNT_ suffix.

This change makes binaries linked with libfdisk 2.26 incompatible with
new libfdisk. Fortunately, 2.26 has been the first release and very
probably the library has been used for util-linux fdisks only.

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2015-03-25 11:08:22 +01:00
parent 740c36f657
commit 310399cafe
1 changed files with 5 additions and 4 deletions

View File

@ -1,11 +1,12 @@
/*
* The symbol versioning ensures that a new application requiring symbol foo;
* can't run with old libblkid.so not providing foo;
* version info can't enforce this since we never change the SONAME.
* can't run with old library.so not providing foo.
* Version info can't enforce this since we never change the SONAME.
*
* Copyright (C) 2014 Karel Zak <kzak@redhat.com>
* Copyright (C) 2014-2015 Karel Zak <kzak@redhat.com>
*/
MOUNT_2.26 {
FDISK_2.26 {
global:
fdisk_add_partition;
fdisk_align_lba;