mirror of
https://github.com/git/git.git
synced 2024-11-05 08:47:56 +01:00
55d3426929
Remove the unused wildopts placeholder struct from being passed to all
wildmatch() invocations, or rather remove all the boilerplate NULL
parameters.
This parameter was added back in commit 9b3497cab9
("wildmatch: rename
constants and update prototype", 2013-01-01) as a placeholder for
future use. Over 4 years later nothing has made use of it, let's just
remove it. It can be added in the future if we find some reason to
start using such a parameter.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 lines
293 B
C
14 lines
293 B
C
#ifndef WILDMATCH_H
|
|
#define WILDMATCH_H
|
|
|
|
#define WM_CASEFOLD 1
|
|
#define WM_PATHNAME 2
|
|
|
|
#define WM_ABORT_MALFORMED 2
|
|
#define WM_NOMATCH 1
|
|
#define WM_MATCH 0
|
|
#define WM_ABORT_ALL -1
|
|
#define WM_ABORT_TO_STARSTAR -2
|
|
|
|
int wildmatch(const char *pattern, const char *text, unsigned int flags);
|
|
#endif
|