aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-31 14:41:06 +0200
committerThomas White <taw@physics.org>2020-07-31 14:41:06 +0200
commit531984799b71b0662f09d6c212614fa27ef2b3a9 (patch)
treeb9322d51a3e2c9eb7a3db5856d765e652da70441
parent6623a5698c531fdbd73d7b99a7f327b2746b6dfc (diff)
ambigator: Rename queue_args
-rw-r--r--src/ambigator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ambigator.c b/src/ambigator.c
index 2b59bd1e..fa405b4f 100644
--- a/src/ambigator.c
+++ b/src/ambigator.c
@@ -373,7 +373,7 @@ struct cc_list
};
-struct queue_args
+struct ambigator_queue_args
{
int n_started;
int n_finished;
@@ -408,7 +408,7 @@ struct cc_job
static void *get_task(void *vp)
{
- struct queue_args *qargs = vp;
+ struct ambigator_queue_args *qargs = vp;
struct cc_job *job;
if ( qargs->n_started == qargs->n_to_do ) return NULL;
@@ -431,7 +431,7 @@ static void *get_task(void *vp)
static void final(void *qp, void *wp)
{
- struct queue_args *qargs = qp;
+ struct ambigator_queue_args *qargs = qp;
struct cc_job *job = wp;
qargs->mean_nac += job->mean_nac;
@@ -563,7 +563,7 @@ static struct cc_list *calc_ccs(struct flist **crystals, int n_crystals,
float *pmean_nac, int nthreads)
{
struct cc_list *ccs;
- struct queue_args qargs;
+ struct ambigator_queue_args qargs;
int i;
assert(n_crystals >= ncorr);