From: Ralf Wildenhues Date: Thu, 29 Dec 2005 13:52:54 +0000 (+0000) Subject: * libltdl/lt_error.c (error_strings): Remove parentheses around X-Git-Tag: release-2-1b~349 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab87d7df7407ed9443fcb537a68d7db5f81a33ad;p=thirdparty%2Flibtool.git * libltdl/lt_error.c (error_strings): Remove parentheses around string literal initializers, uncovered by `tcc'. Reported by Edward Chernenko . --- diff --git a/ChangeLog b/ChangeLog index c6736484d..159555412 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-29 Ralf Wildenhues + + * libltdl/lt_error.c (error_strings): Remove parentheses around + string literal initializers, uncovered by `tcc'. + Reported by Edward Chernenko . + 2005-12-21 Gary V. Vaughan * .cvsignore, libltdl/.cvsignore, tests/.cvsignore: Ignore diff --git a/libltdl/lt_error.c b/libltdl/lt_error.c index 8c8be7ce0..b024aeada 100644 --- a/libltdl/lt_error.c +++ b/libltdl/lt_error.c @@ -32,7 +32,7 @@ Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA static const char *last_error = 0; static const char error_strings[LT_ERROR_MAX][LT_ERROR_LEN_MAX + 1] = { -#define LT_ERROR(name, diagnostic) (diagnostic), +#define LT_ERROR(name, diagnostic) diagnostic, lt_dlerror_table #undef LT_ERROR };