Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/helper: add a test helper to compute hash speed
[gitweb.git]
/
t
/
helper
/
test-prio-queue.c
diff --git
a/t/helper/test-prio-queue.c
b/t/helper/test-prio-queue.c
index 7be72f0086ba4b80cecf9f324bd5152a8531cdbd..9807b649b14c0002bee6d10b200c27bb89a54812 100644
(file)
--- a/
t/helper/test-prio-queue.c
+++ b/
t/helper/test-prio-queue.c
@@
-1,3
+1,4
@@
+#include "test-tool.h"
#include "cache.h"
#include "prio-queue.h"
@@
-16,7
+17,7
@@
static void show(int *v)
free(v);
}
-int
main(int argc,
char **argv)
+int
cmd__prio_queue(int argc, const
char **argv)
{
struct prio_queue pq = { intcmp };