]> git.ozlabs.org Git - ccan/blobdiff - ccan/htable/test/run-size.c
Mark unused arguments in many modules.
[ccan] / ccan / htable / test / run-size.c
index c92401c3c67d0d1d525c33f33f58d055512ee35f..1a2f5cdd1ef8cbbfc1ab84f8221b5bb61b9734ab 100644 (file)
@@ -8,13 +8,13 @@
 
 /* We use the number divided by two as the hash (for lots of
    collisions). */
-static size_t hash(const void *elem, void *unused)
+static size_t hash(const void *elem, void *unused UNNEEDED)
 {
        size_t h = *(uint64_t *)elem / 2;
        return h;
 }
 
-int main(int argc, char *argv[])
+int main(void)
 {
        struct htable ht;
        uint64_t val[NUM_VALS];