diff options
38 files changed, 82 insertions, 38 deletions
@@ -1,5 +1,48 @@ 2011-07-12 Bruno Haible <bruno@clisp.org> + Rename module 'warn-on-use' to 'snippet/warn-on-use'. + * modules/snippet/warn-on-use: Renamed from modules/warn-on-use. + (Files, Makefile.am): Update. + * build-aux/snippet/warn-on-use.h: Renamed from build-aux/warn-on-use.h. + * modules/arpa_inet (Depends-on): Update. + * modules/ctype (Depends-on): Update. + * modules/dirent (Depends-on): Update. + * modules/fcntl-h (Depends-on): Update. + * modules/glob (Depends-on): Update. + * modules/iconv-h (Depends-on): Update. + * modules/inttypes-incomplete (Depends-on): Update. + * modules/langinfo (Depends-on): Update. + * modules/locale (Depends-on): Update. + * modules/math (Depends-on): Update. + * modules/netdb (Depends-on): Update. + * modules/poll-h (Depends-on): Update. + * modules/pty (Depends-on): Update. + * modules/search (Depends-on): Update. + * modules/signal (Depends-on): Update. + * modules/spawn (Depends-on): Update. + * modules/stdio (Depends-on): Update. + * modules/stdlib (Depends-on): Update. + * modules/string (Depends-on): Update. + * modules/strings (Depends-on): Update. + * modules/sys_file (Depends-on): Update. + * modules/sys_ioctl (Depends-on): Update. + * modules/sys_select (Depends-on): Update. + * modules/sys_socket (Depends-on): Update. + * modules/sys_stat (Depends-on): Update. + * modules/sys_time (Depends-on): Update. + * modules/sys_times (Depends-on): Update. + * modules/sys_utsname (Depends-on): Update. + * modules/sys_wait (Depends-on): Update. + * modules/termios (Depends-on): Update. + * modules/time (Depends-on): Update. + * modules/unistd (Depends-on): Update. + * modules/wchar (Depends-on): Update. + * modules/wctype-h (Depends-on): Update. + * MODULES.html.sh (Support for building libraries and executables): + Update. + +2011-07-12 Bruno Haible <bruno@clisp.org> + Rename module 'unused-parameter' to 'snippet/unused-parameter'. * modules/snippet/unused-parameter: Renamed from modules/unused-parameter. diff --git a/MODULES.html.sh b/MODULES.html.sh index 575a5a7486..6bfaf66b4e 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -3459,7 +3459,7 @@ func_all_modules () func_module relocatable-prog func_module relocatable-prog-wrapper func_module relocatable-script - func_module warn-on-use + func_module snippet/warn-on-use func_module warnings func_end_table diff --git a/build-aux/warn-on-use.h b/build-aux/snippet/warn-on-use.h index c14fb274fd..c14fb274fd 100644 --- a/build-aux/warn-on-use.h +++ b/build-aux/snippet/warn-on-use.h diff --git a/modules/arpa_inet b/modules/arpa_inet index 6fd3bd917c..6653ed4204 100644 --- a/modules/arpa_inet +++ b/modules/arpa_inet @@ -9,8 +9,8 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use sys_socket -warn-on-use configure.ac: gl_HEADER_ARPA_INET diff --git a/modules/ctype b/modules/ctype index fbbc541b22..ec000dc801 100644 --- a/modules/ctype +++ b/modules/ctype @@ -8,7 +8,7 @@ m4/ctype.m4 Depends-on: include_next snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_CTYPE_H diff --git a/modules/dirent b/modules/dirent index e7e7b9b353..2e4fbee17c 100644 --- a/modules/dirent +++ b/modules/dirent @@ -10,7 +10,7 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_DIRENT_H diff --git a/modules/fcntl-h b/modules/fcntl-h index d3531e99b6..a687eebee0 100644 --- a/modules/fcntl-h +++ b/modules/fcntl-h @@ -11,8 +11,8 @@ extensions include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use unistd -warn-on-use configure.ac: gl_FCNTL_H diff --git a/modules/glob b/modules/glob index 2f67794eda..5a8b4aefe1 100644 --- a/modules/glob +++ b/modules/glob @@ -12,7 +12,7 @@ Depends-on: extensions snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use alloca [test -n "$GLOB_H"] d-type [test -n "$GLOB_H"] dirfd [test -n "$GLOB_H"] diff --git a/modules/iconv-h b/modules/iconv-h index 7240784f0b..e20b073872 100644 --- a/modules/iconv-h +++ b/modules/iconv-h @@ -9,7 +9,7 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_ICONV_H diff --git a/modules/inttypes-incomplete b/modules/inttypes-incomplete index 628a068164..d9d53ac874 100644 --- a/modules/inttypes-incomplete +++ b/modules/inttypes-incomplete @@ -9,8 +9,8 @@ Depends-on: include_next multiarch snippet/arg-nonnull +snippet/warn-on-use stdint -warn-on-use configure.ac: gl_INTTYPES_INCOMPLETE diff --git a/modules/langinfo b/modules/langinfo index 6b5a8725ab..2519fc5612 100644 --- a/modules/langinfo +++ b/modules/langinfo @@ -9,7 +9,7 @@ Depends-on: extensions include_next snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_LANGINFO_H diff --git a/modules/locale b/modules/locale index 0aa8925afa..4c66c84e24 100644 --- a/modules/locale +++ b/modules/locale @@ -10,8 +10,8 @@ extensions include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use stddef -warn-on-use configure.ac: gl_LOCALE_H diff --git a/modules/math b/modules/math index 4f3f2289cb..bc3d34c355 100644 --- a/modules/math +++ b/modules/math @@ -9,7 +9,7 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_MATH_H diff --git a/modules/netdb b/modules/netdb index 75cfd8b6c6..b324866c1b 100644 --- a/modules/netdb +++ b/modules/netdb @@ -9,7 +9,7 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use sys_socket configure.ac: diff --git a/modules/poll-h b/modules/poll-h index ab21341d8e..7c03786e0c 100644 --- a/modules/poll-h +++ b/modules/poll-h @@ -9,7 +9,7 @@ Depends-on: extensions include_next snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_POLL_H diff --git a/modules/pty b/modules/pty index beaa1ccd89..d523d142ca 100644 --- a/modules/pty +++ b/modules/pty @@ -8,7 +8,7 @@ m4/pty_h.m4 Depends-on: include_next snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_PTY_H diff --git a/modules/search b/modules/search index 66cd19d0e3..7adddc144d 100644 --- a/modules/search +++ b/modules/search @@ -9,7 +9,7 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_SEARCH_H diff --git a/modules/signal b/modules/signal index 2e810ae09b..b8d96be102 100644 --- a/modules/signal +++ b/modules/signal @@ -9,7 +9,7 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use extensions configure.ac: diff --git a/modules/warn-on-use b/modules/snippet/warn-on-use index f0ee83b866..bd57028b24 100644 --- a/modules/warn-on-use +++ b/modules/snippet/warn-on-use @@ -15,11 +15,12 @@ configure.ac: Makefile.am: BUILT_SOURCES += warn-on-use.h # The warn-on-use.h that gets inserted into generated .h files is the same as -# build-aux/warn-on-use.h, except that it has the copyright header cut off. -warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h +# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut +# off. +warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h $(AM_V_GEN)rm -f $@-t $@ && \ sed -n -e '/^.ifndef/,$$p' \ - < $(top_srcdir)/build-aux/warn-on-use.h \ + < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t diff --git a/modules/spawn b/modules/spawn index 12c28abacb..436a7fe8fa 100644 --- a/modules/spawn +++ b/modules/spawn @@ -10,7 +10,7 @@ include_next sched snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_SPAWN_H diff --git a/modules/stdio b/modules/stdio index 75a3c989ac..f8880df3f7 100644 --- a/modules/stdio +++ b/modules/stdio @@ -9,8 +9,8 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use stddef -warn-on-use configure.ac: gl_STDIO_H diff --git a/modules/stdlib b/modules/stdlib index ae51e9fd47..380f13b6db 100644 --- a/modules/stdlib +++ b/modules/stdlib @@ -10,9 +10,9 @@ _Noreturn include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use stddef unistd -warn-on-use configure.ac: gl_STDLIB_H diff --git a/modules/string b/modules/string index afa4f3ca29..a78508cdeb 100644 --- a/modules/string +++ b/modules/string @@ -10,8 +10,8 @@ extensions include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use stddef -warn-on-use configure.ac: gl_HEADER_STRING_H diff --git a/modules/strings b/modules/strings index ef1e13cb60..631cabbae9 100644 --- a/modules/strings +++ b/modules/strings @@ -9,7 +9,7 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_HEADER_STRINGS_H diff --git a/modules/sys_file b/modules/sys_file index 71df037547..509c1da099 100644 --- a/modules/sys_file +++ b/modules/sys_file @@ -7,7 +7,7 @@ m4/sys_file_h.m4 Depends-on: include_next -warn-on-use +snippet/warn-on-use configure.ac: gl_HEADER_SYS_FILE_H diff --git a/modules/sys_ioctl b/modules/sys_ioctl index 4fa807ff5b..a008f212ac 100644 --- a/modules/sys_ioctl +++ b/modules/sys_ioctl @@ -8,8 +8,8 @@ m4/sys_ioctl_h.m4 Depends-on: include_next snippet/c++defs +snippet/warn-on-use unistd -warn-on-use configure.ac: gl_SYS_IOCTL_H diff --git a/modules/sys_select b/modules/sys_select index 3d579f9ef8..49a03606ad 100644 --- a/modules/sys_select +++ b/modules/sys_select @@ -10,8 +10,8 @@ Depends-on: include_next signal snippet/c++defs +snippet/warn-on-use sys_time -warn-on-use configure.ac: gl_HEADER_SYS_SELECT diff --git a/modules/sys_socket b/modules/sys_socket index 5bcde53738..df0844bf99 100644 --- a/modules/sys_socket +++ b/modules/sys_socket @@ -12,9 +12,9 @@ errno include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use socklen sys_uio -warn-on-use configure.ac: gl_HEADER_SYS_SOCKET diff --git a/modules/sys_stat b/modules/sys_stat index 3bb367bf38..531562c98d 100644 --- a/modules/sys_stat +++ b/modules/sys_stat @@ -10,8 +10,8 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use time -warn-on-use configure.ac: gl_HEADER_SYS_STAT_H diff --git a/modules/sys_time b/modules/sys_time index 1d271bc569..18700e8300 100644 --- a/modules/sys_time +++ b/modules/sys_time @@ -9,7 +9,7 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_HEADER_SYS_TIME_H diff --git a/modules/sys_times b/modules/sys_times index 5d289d1349..66a36f135d 100644 --- a/modules/sys_times +++ b/modules/sys_times @@ -8,7 +8,7 @@ m4/sys_times_h.m4 Depends-on: include_next snippet/arg-nonnull -warn-on-use +snippet/warn-on-use configure.ac: gl_SYS_TIMES_H diff --git a/modules/sys_utsname b/modules/sys_utsname index 8e6ed6aaf4..82aa31bdf4 100644 --- a/modules/sys_utsname +++ b/modules/sys_utsname @@ -8,7 +8,7 @@ m4/sys_utsname_h.m4 Depends-on: include_next snippet/arg-nonnull -warn-on-use +snippet/warn-on-use configure.ac: gl_SYS_UTSNAME_H diff --git a/modules/sys_wait b/modules/sys_wait index 2159e55bee..a270d914cf 100644 --- a/modules/sys_wait +++ b/modules/sys_wait @@ -8,7 +8,7 @@ m4/sys_wait_h.m4 Depends-on: include_next snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_SYS_WAIT_H diff --git a/modules/termios b/modules/termios index 60e9b44336..facebebde9 100644 --- a/modules/termios +++ b/modules/termios @@ -8,7 +8,7 @@ m4/termios_h.m4 Depends-on: include_next snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_TERMIOS_H diff --git a/modules/time b/modules/time index 34d749a7c0..8e946fcffc 100644 --- a/modules/time +++ b/modules/time @@ -10,7 +10,7 @@ extensions include_next snippet/arg-nonnull snippet/c++defs -warn-on-use +snippet/warn-on-use stddef configure.ac: diff --git a/modules/unistd b/modules/unistd index fa69a8b7b2..6c8ea1e406 100644 --- a/modules/unistd +++ b/modules/unistd @@ -9,8 +9,8 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use stddef -warn-on-use configure.ac: gl_UNISTD_H diff --git a/modules/wchar b/modules/wchar index 04ff3459dc..abaf6b7be6 100644 --- a/modules/wchar +++ b/modules/wchar @@ -10,8 +10,8 @@ Depends-on: include_next snippet/arg-nonnull snippet/c++defs +snippet/warn-on-use stddef -warn-on-use configure.ac: gl_WCHAR_H diff --git a/modules/wctype-h b/modules/wctype-h index 08c66c6c6f..58491192c0 100644 --- a/modules/wctype-h +++ b/modules/wctype-h @@ -9,7 +9,7 @@ m4/wint_t.m4 Depends-on: include_next snippet/c++defs -warn-on-use +snippet/warn-on-use configure.ac: gl_WCTYPE_H |