X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffnmatch.in.h;h=e06ff03fa49a18eb39c8e6c1c6c178c591a867d1;hb=599a664564268f6a1b5895c928a59459c9851b2a;hp=cab79797ee1213b521dcf6576a38f26c16a0548e;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/lib/fnmatch.in.h b/lib/fnmatch.in.h index cab79797e..e06ff03fa 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. +/* Copyright (C) 1991-1993, 1996-1999, 2001-2003, 2005, 2007, 2009-2011 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 }