aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-01-24 19:01:42 +0100
committerChristian Grothoff <christian@grothoff.org>2019-01-24 19:01:42 +0100
commit222cac2762353c6901351ea9fabdd7839f46b99f (patch)
treecc90b97e2df3c4d471505e5f6572dd974e6fdeaf /src
parent0913f346f8f44bbe9b7c817bde9d411fad74ce09 (diff)
make function static
Diffstat (limited to 'src')
-rw-r--r--src/lib/auditor_api_handle.c10
-rw-r--r--src/lib/exchange_api_handle.c2
2 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c
index 436c612be..70bf6f715 100644
--- a/src/lib/auditor_api_handle.c
+++ b/src/lib/auditor_api_handle.c
@@ -495,20 +495,10 @@ request_version (void *cls)
"Requesting auditor version with URL `%s'.\n",
vr->url);
eh = TAL_curl_easy_get (vr->url);
-#if 0
- GNUNET_assert (CURLE_OK ==
- curl_easy_setopt (eh,
- CURLOPT_VERBOSE,
- 0L));
- GNUNET_assert (CURLE_OK ==
- curl_easy_setopt (eh,
- CURLOPT_FRESH_CONNECT,
- 0L));
GNUNET_assert (CURLE_OK ==
curl_easy_setopt (eh,
CURLOPT_TIMEOUT,
(long) 300));
-#endif
vr->job = GNUNET_CURL_job_add (auditor->ctx,
eh,
GNUNET_NO,
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 78219e611..4af5bdf64 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -732,7 +732,7 @@ update_auditors (struct TALER_EXCHANGE_Handle *exchange)
* @return 0 if the two keys are equal (not necessarily
* the same object), 1 otherwise.
*/
-unsigned int
+static unsigned int
TALER_denoms_cmp (struct TALER_EXCHANGE_DenomPublicKey *denom1,
struct TALER_EXCHANGE_DenomPublicKey *denom2)
{