summaryrefslogtreecommitdiff
path: root/modules/wchar
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-11 01:15:28 +0100
committerBruno Haible <bruno@clisp.org>2009-12-11 01:15:28 +0100
commit6948250861edce048d7bb3c6b47d13fa3649905e (patch)
treec3d1c4a2e42938d93a07095345cb18567fa44710 /modules/wchar
parent441aa3044f43e5572f58c354f01e6bc070acd5c7 (diff)
downloadgnulib-6948250861edce048d7bb3c6b47d13fa3649905e.tar.gz
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Diffstat (limited to 'modules/wchar')
-rw-r--r--modules/wchar4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/wchar b/modules/wchar
index d6dbfd5ef7..eb8615ca9c 100644
--- a/modules/wchar
+++ b/modules/wchar
@@ -9,6 +9,7 @@ m4/wint_t.m4
Depends-on:
include_next
link-warning
+arg-nonnull
stddef
configure.ac:
@@ -19,7 +20,7 @@ BUILT_SOURCES += $(WCHAR_H)
# We need the following in order to create <wchar.h> when the system
# version does not work standalone.
-wchar.h: wchar.in.h $(LINK_WARNING_H)
+wchar.h: wchar.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -62,6 +63,7 @@ wchar.h: wchar.in.h $(LINK_WARNING_H)
-e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
-e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
< $(srcdir)/wchar.in.h; \
} > $@-t && \
mv $@-t $@