]> git.ipfire.org Git - thirdparty/samba.git/commit
Don't use a nested function when testing for visibility attribute support.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 8 Nov 2014 16:22:30 +0000 (16:22 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 10 Nov 2014 07:29:19 +0000 (08:29 +0100)
commit2afc5b797826780c07e04ed153edc82f410668a2
tree059a08e91cd5c12635e222f5990d8096bfedc78d
parente2b5ae135b740c7a6d04c2ef8137ce4064d83dff
Don't use a nested function when testing for visibility attribute support.

Some compilers support __attribute__((visibility)), but not nested
functions (e.g. http://www.cprover.org/goto-cc/)

Change-Id: I01a5dd6f5f913664621c4090e2dca177527436bb
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749983
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749985
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749986
Signed-Off-By: Jelmer Vernooij <jelmer@debian.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov 10 08:29:19 CET 2014 on sn-devel-104
lib/replace/wscript