diff options
author | Gary V. Vaughan <gary@gnu.org> | 2011-10-25 12:00:58 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2011-11-17 19:22:16 +0700 |
commit | 460eb0638aa84cb44734f90531c90354b3c2840d (patch) | |
tree | f1057ea620c16767128159c26790c758601af94e /doc | |
parent | e628dd85c18f06d0e0c85a9459410341e8502701 (diff) | |
download | libtool-460eb0638aa84cb44734f90531c90354b3c2840d.tar.gz |
syntax-check: fix violations and re-enable sc_useless_cpp_parens.
* cfg.mk (local-checks-to-fix): Remove sc_useless_cpp_parens
from list of disabled checks.
* doc/libtool.texi, libltdl/argz.c, libltdl/argz_.h,
build-aux/ltmain.m4sh, libltdl/libltdl/lt__alloc.h,
libltdl/libltdl/lt__dirent.h, libltdl/libltdl/lt__glibc.h,
libltdl/libltdl/lt__private.h, libltdl/libltdl/lt__strl.h,
libltdl/libltdl/lt_dlloader.h, libltdl/libltdl/lt_error.h,
libltdl/libltdl/lt_system.h, libltdl/libltdl/slist.h,
libltdl/loaders/dld_link.c, libltdl/loaders/dlopen.c,
libltdl/loaders/dyld.c, libltdl/loaders/loadlibrary.c,
libltdl/loaders/shl_load.c, libltdl/lt__dirent.c, libltdl/lt__strl.c,
libltdl/ltdl.c, libltdl/ltdl.h, libltdl/m4/libtool.m4, tests/demo/foo.h,
tests/depdemo/sysdep.h, tests/exceptions.at, tests/export.at,
tests/pdemo/foo.h, tests/stresstest.at: Remove useless parens in cpp
`#if defined(foo)' statements.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libtool.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/libtool.texi b/doc/libtool.texi index 8955a093..cdb0cd74 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -3221,9 +3221,9 @@ Here are the relevant portions of that file: compilers that don't understand ANSI C prototypes still work, and ANSI C compilers can issue warnings about type mismatches. */ #undef PARAMS -#if defined (__STDC__) || defined (_AIX) \ - || (defined (__mips) && defined (_SYSTYPE_SVR4)) \ - || defined(WIN32) || defined(__cplusplus) +#if defined __STDC__ || defined _AIX \ + || (defined __mips && defined _SYSTYPE_SVR4) \ + || defined WIN32 || defined __cplusplus # define PARAMS(protos) protos #else # define PARAMS(protos) () |