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 /lib/getdelim.c | |
parent | 441aa3044f43e5572f58c354f01e6bc070acd5c7 (diff) | |
download | gnulib-6948250861edce048d7bb3c6b47d13fa3649905e.tar.gz |
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Diffstat (limited to 'lib/getdelim.c')
-rw-r--r-- | lib/getdelim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/getdelim.c b/lib/getdelim.c index cb8886d30c..4ae814b1ca 100644 --- a/lib/getdelim.c +++ b/lib/getdelim.c @@ -21,6 +21,10 @@ #include <config.h> +/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc + optimizes away the lineptr == NULL || n == NULL || fp == NULL tests below. */ +#define _GL_ARG_NONNULL(params) + #include <stdio.h> #include <limits.h> |