X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffnmatch.in.h;h=29baf1c6badf8ebfe391a398047fa56847d8ff86;hb=1b5bc6ed268e3f86e5fab50eb42794400e29ea2f;hp=cab79797ee1213b521dcf6576a38f26c16a0548e;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/lib/fnmatch.in.h b/lib/fnmatch.in.h index cab79797e..29baf1c6b 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, 2010 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 }