diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2015-08-19 02:50:25 -0400 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2015-08-19 22:01:21 -0700 |
commit | 591d694a713361d2a6a7b59442730e313fb0b7b6 (patch) | |
tree | 81673b95fe00bd749e1c8b69987008f3e69bf779 /api/src | |
parent | 4e9befbd514ff979d7c7dc298e25e3c0a837b1bc (diff) |
libgfapi: non-default symbol version macros are incorrect
default symbol versions are in form glfs_h_lookupat@@GFAPI_2.7.4,
versus old, non-default versions are in the form glfs_h_lookup@GFAPI_2.4.2
I.e. "@@" versus "@"
Backport of:
* Change-Id: I88a6b129558c0b3a6064de7620b3b20425e80bc9
* BUG: 1254863
* http://review.gluster.org/#/c/11955/
Change-Id: I0d53140e03dc2f501ce11d5b2d67373360f2b8b2
BUG: 1254865
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/11956
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/glfs-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index b366d936a23..5696a5bdcd6 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -84,10 +84,10 @@ asm(".symver priv_"STR(fn)", "STR(fn)"@@GFAPI_PRIVATE_"STR(ver)) #define GFAPI_SYMVER_PUBLIC(fn1, fn2, ver) \ - asm(".symver pub_"STR(fn1)", "STR(fn2)"@@GFAPI_"STR(ver)) + asm(".symver pub_"STR(fn1)", "STR(fn2)"@GFAPI_"STR(ver)) #define GFAPI_SYMVER_PRIVATE(fn1, fn2, ver) \ - asm(".symver priv_"STR(fn1)", "STR(fn2)"@@GFAPI_PRIVATE_"STR(ver)) + asm(".symver priv_"STR(fn1)", "STR(fn2)"@GFAPI_PRIVATE_"STR(ver)) #define STR(str) #str #else #ifndef GFAPI_PUBLIC |