diff options
Diffstat (limited to 'core/parse.c')
-rw-r--r-- | core/parse.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/core/parse.c b/core/parse.c index 68e409b94..690b4d29a 100644 --- a/core/parse.c +++ b/core/parse.c @@ -114,23 +114,6 @@ void nonmatch(const char *type, const char *name, char *buffer) type, name, buffer); } -int match(const char *pattern, int plen, - const char *name, - matchfn_t fn, char *buf, void *data) -{ - switch (name[plen]) { - case '\0': - case '.': - break; - default: - return 0; - } - if (memcmp(pattern, name, plen)) - return 0; - fn(buf, data); - return 1; -} - void event_start(void) { memset(&cur_event, 0, sizeof(cur_event)); |