bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/4] Avoid an 'empty declaration' / 'extraneous semicolon' warnin


From: Andreas Gruenbacher
Subject: [PATCH 1/4] Avoid an 'empty declaration' / 'extraneous semicolon' warning
Date: Tue, 27 Apr 2010 23:23:55 +0200

* lib/canonicalize-lgpl.c: Avoid an 'empty declaration' / 'extraneous
semicolon' warning with some compilers.

Signed-off-by: Andreas Gruenbacher <address@hidden>
---
 ChangeLog               |    5 +++++
 lib/canonicalize-lgpl.c |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index db01579..ad3a917 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-27  Andreas Gruenbacher <address@hidden>
+
+       * lib/canonicalize-lgpl.c: Avoid an 'empty declaration' / 'extraneous
+       semicolon' warning with some compilers.
+
 2010-04-27  Eric Blake  <address@hidden>
 
        full-read, full-write: relax license
diff --git a/lib/canonicalize-lgpl.c b/lib/canonicalize-lgpl.c
index 480a132..d98b3ac 100644
--- a/lib/canonicalize-lgpl.c
+++ b/lib/canonicalize-lgpl.c
@@ -334,7 +334,9 @@ error:
   }
   return NULL;
 }
+#ifdef _LIBC
 versioned_symbol (libc, __realpath, realpath, GLIBC_2_3);
+#endif
 #endif /* !FUNC_REALPATH_WORKS || defined _LIBC */
 
 
-- 
1.7.1.rc1.12.ga601






reply via email to

[Prev in Thread] Current Thread [Next in Thread]