Avoid GCC -Wall compiler warning in dlopen self test.

* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Fix unused
variable warning in test program.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Philip Allison 2010-06-15 20:09:48 +02:00 committed by Ralf Wildenhues
parent 66c97302ad
commit e0c817e510
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2010-06-15 Philip Allison <philip.allison@smoothwall.net> (tiny change)
Avoid GCC -Wall compiler warning in dlopen self test.
* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Fix unused
variable warning in test program.
* THANKS: Update.
2010-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix cleaning of uninstalled w32 shell wrapper in subdirs.

1
THANKS
View File

@ -145,6 +145,7 @@
Peter Fritzsche peter.fritzsche@gmx.de
Peter Jeremy peterjeremy@optushome.com.au
Peter Kjellerstedt peter.kjellerstedt@axis.com
Philip Allison philip.allison@smoothwall.net
Rainer Emrich r.emrich@de.tecosim.com
Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Rainer Tammer tammer@tammer.net

View File

@ -1658,10 +1658,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
void fnord () __attribute__((visibility("default")));
int fnord () __attribute__((visibility("default")));
#endif
void fnord () { int i=42; }
int fnord () { return 42; }
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);