Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6535 → Rev 6536

/contrib/sdk/sources/newlib/libc/include/fnmatch.h
33,6 → 33,8
#ifndef _FNMATCH_H_
#define _FNMATCH_H_
 
#include <sys/cdefs.h>
 
#define FNM_NOMATCH 1 /* Match failed. */
 
#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
39,7 → 41,7
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
 
#if defined(_GNU_SOURCE) || !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
#if __GNU_VISIBLE
#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
#define FNM_CASEFOLD 0x10 /* Case insensitive search. */
#define FNM_IGNORECASE FNM_CASEFOLD
46,8 → 48,6
#define FNM_FILE_NAME FNM_PATHNAME
#endif
 
#include <sys/cdefs.h>
 
__BEGIN_DECLS
int fnmatch(const char *, const char *, int);
__END_DECLS