cleanup: all functions have declarations (-Wmissing-prototypes)
[urcu.git] / src / rculfhash.c
index 5b3c06b5a85ab6047cf133b3aea0ae1d0d955015..efd1c4aedea734d8a19cc19b51e5c0ddcf0c1fa4 100644 (file)
@@ -581,6 +581,7 @@ unsigned int cds_lfht_fls_ulong(unsigned long x)
  * Return the minimum order for which x <= (1UL << order).
  * Return -1 if x is 0.
  */
+static
 int cds_lfht_get_count_order_u32(uint32_t x)
 {
        if (!x)
@@ -2168,7 +2169,7 @@ static void cds_lfht_worker_init(struct urcu_workqueue *workqueue,
                urcu_die(errno);
        ret = sigdelset(&mask, SIGRCU);
        if (ret)
-               urcu_die(ret);
+               urcu_die(errno);
        ret = pthread_sigmask(SIG_SETMASK, &mask, NULL);
        if (ret)
                urcu_die(ret);
This page took 0.022787 seconds and 4 git commands to generate.