aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/h48/distribution_h48.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/solvers/h48/distribution_h48.h')
-rw-r--r--src/solvers/h48/distribution_h48.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/solvers/h48/distribution_h48.h b/src/solvers/h48/distribution_h48.h
index 6d50ae5..80c946e 100644
--- a/src/solvers/h48/distribution_h48.h
+++ b/src/solvers/h48/distribution_h48.h
@@ -4,11 +4,11 @@ needed for H48 because of the intertwined fallback table, and it is easier
4to have some duplication than to make these functions needlessly generic. 4to have some duplication than to make these functions needlessly generic.
5*/ 5*/
6 6
7STATIC void *getdistribution_h48_runthread(void *); 7STATIC wrapthread_return_t getdistribution_h48_runthread(void *);
8STATIC void getdistribution_h48(const unsigned char *, 8STATIC void getdistribution_h48(const unsigned char *,
9 uint64_t [static INFO_DISTRIBUTION_LEN], const tableinfo_t [static 1]); 9 uint64_t [static INFO_DISTRIBUTION_LEN], const tableinfo_t [static 1]);
10 10
11STATIC void * 11STATIC wrapthread_return_t
12getdistribution_h48_runthread(void *arg) 12getdistribution_h48_runthread(void *arg)
13{ 13{
14 getdistribution_data_t *data = (getdistribution_data_t *)arg; 14 getdistribution_data_t *data = (getdistribution_data_t *)arg;
@@ -33,7 +33,7 @@ getdistribution_h48_runthread(void *arg)
33 data->distr[(t & (m << (3*k))) >> (3*k)]--; 33 data->distr[(t & (m << (3*k))) >> (3*k)]--;
34 } 34 }
35 35
36 return NULL; 36 return wrapthread_return_val;
37} 37}
38 38
39STATIC void 39STATIC void

Generated with cgit - Back to sebastiano.tronto.net