From 45fe8a52e6d3790d6fdc9cf25dcb8970e68a1433 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 28 Sep 2015 22:59:34 +0200 Subject: [PATCH] fix minor typos/comments --- src/mintdb/Makefile.am | 2 +- src/mintdb/test_perf_taler_mintdb.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mintdb/Makefile.am b/src/mintdb/Makefile.am index 82722bd54..d9cc8b855 100644 --- a/src/mintdb/Makefile.am +++ b/src/mintdb/Makefile.am @@ -83,7 +83,7 @@ test_mintdb_postgres_LDADD = \ -lgnunetutil -ljansson test_perf_taler_mintdb_SOURCES = \ - test_perf_taler_mintdb.c \ + test_perf_taler_mintdb.c \ perf_taler_mintdb_init.c \ perf_taler_mintdb_interpreter.c test_perf_taler_mintdb_LDADD = \ diff --git a/src/mintdb/test_perf_taler_mintdb.c b/src/mintdb/test_perf_taler_mintdb.c index 4397bc71b..2830ef812 100644 --- a/src/mintdb/test_perf_taler_mintdb.c +++ b/src/mintdb/test_perf_taler_mintdb.c @@ -14,7 +14,7 @@ TALER; see the file COPYING. If not, If not, see */ /** - * @file mintdb/perf_taler_mintdb.c + * @file mintdb/test_perf_taler_mintdb.c * @brief Mint database performance analysis * @author Nicolas Fournier */ @@ -39,8 +39,8 @@ * Allocate, copies and free all the data used in the interpreter * Used to check for memory leaks */ -void -test_alocate () +static void +test_allocate () { struct TALER_MINTDB_DenominationKeyIssueInformation *dki, *dki_copy; struct PERF_TALER_MINTDB_Reserve *reserve, *reserve_copy; @@ -171,8 +171,8 @@ main (int argc, char ** argv) PERF_TALER_MINTDB_INIT_CMD_END ("end"), }; - test_alocate (); - ret = PERF_TALER_MINTDB_run_benchmark ("perf-taler-mintdb", + test_allocate (); + ret = PERF_TALER_MINTDB_run_benchmark ("test-perf-taler-mintdb", "./test-mint-db-postgres.conf", init, benchmark);