diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-30 18:58:58 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-11-02 06:34:24 -0700 |
commit | 8fe40b84bd8dbb0d1e908422eb68a17c9f254754 (patch) | |
tree | 3d69b802f17ea2957625a5bd8a58c0e8ff431631 /gl/lib/regex_internal.h.diff | |
parent | 565e5f6827672bdc6510b8b5a839831ab097c5a1 (diff) | |
download | coreutils-8fe40b84bd8dbb0d1e908422eb68a17c9f254754.tar.xz |
build: avoid some warnings
* gl/lib/mbsalign.c (mbsalign): Mark unused parameter.
* bootstrap.conf (gnulib_modules): Remove obsolete
rename-dest-slash.
* gnulib-tests/Makefile.am (AM_CFLAGS): Reduce set of warnings for
gnulib tests.
* gl/modules/rename-tests.diff (Makefile.am): New file, to add
LIBINTL to LDADD, since we avoid canonicalize-lgpl module.
* gl/lib/regcomp.c.diff (regerror, calc_next)
(build_collating_symbol, parse_bracket_element, build_equiv_class)
(free_tree): Mark unused parameters.
* gl/lib/regex_internal.h.diff (re_string_elem_size_at): New file,
to mark unused parameters.
* gl/lib/printf-args.c.diff (PRINTF_FETCHARGS): New file, to avoid
type mismatch.
* gl/lib/vasnprintf.c (VASNPRINTF): New file, to avoid shadowing
local variable name.
* .gitignore: Ignore temporary build artifacts.
Diffstat (limited to 'gl/lib/regex_internal.h.diff')
-rw-r--r-- | gl/lib/regex_internal.h.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gl/lib/regex_internal.h.diff b/gl/lib/regex_internal.h.diff new file mode 100644 index 000000000..d1506a6f5 --- /dev/null +++ b/gl/lib/regex_internal.h.diff @@ -0,0 +1,14 @@ +diff --git i/lib/regex_internal.h w/lib/regex_internal.h +index 859832f..3c7fe06 100644 +--- i/lib/regex_internal.h ++++ w/lib/regex_internal.h +@@ -826,7 +826,8 @@ re_string_wchar_at (const re_string_t *pstr, Idx idx) + + static int + internal_function __attribute ((pure)) +-re_string_elem_size_at (const re_string_t *pstr, Idx idx) ++re_string_elem_size_at (const re_string_t *pstr _UNUSED_PARAMETER_, ++ Idx idx _UNUSED_PARAMETER_) + { + # ifdef _LIBC + const unsigned char *p, *extra; |