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/fnmatch.in.h | |
parent | 441aa3044f43e5572f58c354f01e6bc070acd5c7 (diff) | |
download | gnulib-6948250861edce048d7bb3c6b47d13fa3649905e.tar.gz |
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Diffstat (limited to 'lib/fnmatch.in.h')
-rw-r--r-- | lib/fnmatch.in.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/fnmatch.in.h b/lib/fnmatch.in.h index cab79797ee..65fca7dc65 100644 --- a/lib/fnmatch.in.h +++ b/lib/fnmatch.in.h @@ -1,5 +1,5 @@ /* Copyright (C) 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2001, 2002, 2003, - 2005, 2007 Free Software Foundation, Inc. + 2005, 2007, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -20,6 +20,8 @@ #ifndef _FNMATCH_H #define _FNMATCH_H 1 +/* The definition of _GL_ARG_NONNULL is copied here. */ + #ifdef __cplusplus extern "C" { #endif @@ -56,7 +58,8 @@ extern "C" { /* Match NAME against the file name pattern PATTERN, returning zero if it matches, FNM_NOMATCH if not. */ extern int fnmatch (const char *__pattern, const char *__name, - int __flags); + int __flags) + _GL_ARG_NONNULL ((1, 2)); #ifdef __cplusplus } |