summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-17 10:25:30 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-17 10:25:30 -0800
commitedf569ee6c52de1bdc40cae1c2b18b099ecea7c5 (patch)
tree262b54e6c51c12b7acd2b2bc40032642c2007ee9
parent6b80b41c7cc8b56ea70447dc4dfaf250fa6f4743 (diff)
downloadsubsurface-edf569ee6c52de1bdc40cae1c2b18b099ecea7c5.tar.gz
CLeanup: remove duplicate typedef
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--core/parse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/parse.c b/core/parse.c
index 3d71e0df1..5743be3c6 100644
--- a/core/parse.c
+++ b/core/parse.c
@@ -112,8 +112,6 @@ void nonmatch(const char *type, const char *name, char *buffer)
type, name, buffer);
}
-typedef void (*matchfn_t)(char *buffer, void *);
-
int match(const char *pattern, int plen,
const char *name,
matchfn_t fn, char *buf, void *data)