cleanup: explicitly mark unused parameters (-Wunused-parameter)
[urcu.git] / doc / examples / rculfhash / cds_lfht_del.c
index efa6d9a705323123a5e68384a253f51f0c1c1c11..9dab8a50f249c8eb0fbe3c6dbaba5518079b6f5b 100644 (file)
@@ -37,7 +37,7 @@ int match(struct cds_lfht_node *ht_node, const void *_key)
 {
        struct mynode *node =
                caa_container_of(ht_node, struct mynode, node);
-       const unsigned int *key = _key;
+       const int *key = _key;
 
        return *key == node->value;
 }
@@ -50,7 +50,7 @@ void free_node(struct rcu_head *head)
        free(node);
 }
 
-int main(int argc, char **argv)
+int main(void)
 {
        int values[] = { -5, 42, 42, 36, 24, }; /* 42 is duplicated */
        int remove_values[] = { 42, 36, 24, 123, };
This page took 0.022355 seconds and 4 git commands to generate.