diff options
author | Bruno Haible <bruno@clisp.org> | 2009-12-11 01:15:28 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-12-11 01:15:28 +0100 |
commit | 6948250861edce048d7bb3c6b47d13fa3649905e (patch) | |
tree | c3d1c4a2e42938d93a07095345cb18567fa44710 /modules/stdio | |
parent | 441aa3044f43e5572f58c354f01e6bc070acd5c7 (diff) | |
download | gnulib-6948250861edce048d7bb3c6b47d13fa3649905e.tar.gz |
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Diffstat (limited to 'modules/stdio')
-rw-r--r-- | modules/stdio | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/stdio b/modules/stdio index 06e7865ca5..eca35813c7 100644 --- a/modules/stdio +++ b/modules/stdio @@ -9,6 +9,7 @@ m4/stdio_h.m4 Depends-on: include_next link-warning +arg-nonnull raise stddef @@ -20,7 +21,7 @@ BUILT_SOURCES += stdio.h # We need the following in order to create <stdio.h> when the system # doesn't have one that works with the given compiler. -stdio.h: stdio.in.h $(LINK_WARNING_H) +stdio.h: stdio.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' \ @@ -105,6 +106,7 @@ stdio.h: stdio.in.h $(LINK_WARNING_H) -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ < $(srcdir)/stdio.in.h; \ } > $@-t && \ mv $@-t $@ |