aboutsummaryrefslogtreecommitdiff
path: root/src/mintdb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-09-28 22:59:34 +0200
committerChristian Grothoff <christian@grothoff.org>2015-09-28 22:59:34 +0200
commit45fe8a52e6d3790d6fdc9cf25dcb8970e68a1433 (patch)
tree363a8b9b91731d3a4a2661a6c3cd41cfa02b8631 /src/mintdb
parent383f3eb850a2b557c3ae69e791e08420817d78b8 (diff)
fix minor typos/comments
Diffstat (limited to 'src/mintdb')
-rw-r--r--src/mintdb/Makefile.am2
-rw-r--r--src/mintdb/test_perf_taler_mintdb.c10
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 <http://www.gnu.org/licenses/>
*/
/**
- * @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);