* lib/canonicalize-lgpl.c (versioned_symbol): Avoid an 'empty declaration' / 'extraneous semicolon' warning with some compilers. Reported by Andreas Gruenbacher.
Signed-off-by: Eric Blake <ebl...@redhat.com> --- On further thought, here's an even smaller patch that does the same thing, and makes the diff to glibc less painful to review. ChangeLog | 7 +++++++ lib/canonicalize-lgpl.c | 2 +- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1191a67..016a9e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-04-28 Eric Blake <ebl...@redhat.com> + + canonicalize-lgpl: avoid compiler warning + * lib/canonicalize-lgpl.c (versioned_symbol): Avoid an 'empty + declaration' / 'extraneous semicolon' warning with some compilers. + Reported by Andreas Gruenbacher. + 2010-04-28 Jim Meyering <meyer...@redhat.com> init.sh: ensure a more reliable exit status when exiting via trap diff --git a/lib/canonicalize-lgpl.c b/lib/canonicalize-lgpl.c index 480a132..939e3f1 100644 --- a/lib/canonicalize-lgpl.c +++ b/lib/canonicalize-lgpl.c @@ -43,7 +43,7 @@ # include <shlib-compat.h> #else # define SHLIB_COMPAT(lib, introduced, obsoleted) 0 -# define versioned_symbol(lib, local, symbol, version) +# define versioned_symbol(lib, local, symbol, version) extern int dummy # define compat_symbol(lib, local, symbol, version) # define weak_alias(local, symbol) # define __canonicalize_file_name canonicalize_file_name -- 1.6.6.1