cleanup: explicitly mark unused parameters (-Wunused-parameter)
[urcu.git] / doc / examples / wfcqueue / cds_wfcq_enqueue.c
index 377f017ea3b4dda50312e40ed7ae6fab8e4b29ef..850eea8b5e5fa817fe8ef902d4f2144000b7c48c 100644 (file)
@@ -27,7 +27,7 @@ struct mynode {
        struct cds_wfcq_node node;      /* Chaining in queue */
 };
 
-int main(int argc, char **argv)
+int main(void)
 {
        int values[] = { -5, 42, 36, 24, };
        struct cds_wfcq_head myqueue_head;      /* Queue head */
@@ -68,5 +68,6 @@ int main(int argc, char **argv)
        }
        printf("\n");
 end:
+       cds_wfcq_destroy(&myqueue_head, &myqueue_tail);
        return ret;
 }
This page took 0.022272 seconds and 4 git commands to generate.