aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-04 06:59:48 +0200
committerChristian Grothoff <christian@grothoff.org>2016-05-04 06:59:48 +0200
commitc0e3021040054c5928c16ba0777ce1f1fc71cdd0 (patch)
treeb7adcf2f8c473f0948a8163625ac8a6ea3e8d9cd
parent455368147695d6f84bdfb814794483d4a0464e56 (diff)
dead code elimination
-rw-r--r--src/exchange/taler-exchange-httpd_validation.c19
-rw-r--r--src/exchange/taler-exchange-httpd_validation.h9
2 files changed, 0 insertions, 28 deletions
diff --git a/src/exchange/taler-exchange-httpd_validation.c b/src/exchange/taler-exchange-httpd_validation.c
index 830120a31..ba3543afa 100644
--- a/src/exchange/taler-exchange-httpd_validation.c
+++ b/src/exchange/taler-exchange-httpd_validation.c
@@ -175,25 +175,6 @@ TMH_json_validate_wireformat (const json_t *wire,
/**
- * Check if we support the given wire method.
- *
- * @param type type of wire method to check
- * @return #GNUNET_YES if the method is supported
- */
-int
-TMH_VALIDATION_test_method (const char *type)
-{
- struct Plugin *p;
-
- for (p=wire_head;NULL != p;p = p->next)
- if (0 == strcasecmp (type,
- p->type))
- return GNUNET_YES;
- return GNUNET_NO;
-}
-
-
-/**
* Obtain JSON of the supported wire methods for a given
* account name prefix.
*
diff --git a/src/exchange/taler-exchange-httpd_validation.h b/src/exchange/taler-exchange-httpd_validation.h
index bd04994ef..4ff50d081 100644
--- a/src/exchange/taler-exchange-httpd_validation.h
+++ b/src/exchange/taler-exchange-httpd_validation.h
@@ -54,15 +54,6 @@ int
TMH_json_validate_wireformat (const json_t *wire,
int ours);
-/**
- * Check if we support the given wire method.
- *
- * @param type type of wire method to check
- * @return #GNUNET_YES if the method is supported
- */
-int
-TMH_VALIDATION_test_method (const char *type);
-
/**
* Obtain JSON of the supported wire methods for a given