aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-30 10:16:37 +0200
committerThomas White <taw@physics.org>2020-07-30 10:17:12 +0200
commite14e413957b0c1e357167f43f129a6ef39ef5051 (patch)
treec26d0a6235091010138a9313bf2cfb8924903610 /src/post-refinement.c
parentf9a6d5ea442e074d1e61585b572837f80e2ddac9 (diff)
Eliminate duplicate symbols
This makes searching easier, and also permits Meson's unity build mode.
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index b3ce79c1..09438a82 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -753,7 +753,7 @@ struct refine_args
};
-struct queue_args
+struct pr_queue_args
{
int n_started;
int n_done;
@@ -780,7 +780,7 @@ static void refine_image(void *task, int id)
static void *get_image(void *vqargs)
{
struct refine_args *task;
- struct queue_args *qargs = vqargs;
+ struct pr_queue_args *qargs = vqargs;
task = malloc(sizeof(struct refine_args));
memcpy(task, &qargs->task_defaults, sizeof(struct refine_args));
@@ -796,7 +796,7 @@ static void *get_image(void *vqargs)
static void done_image(void *vqargs, void *task)
{
- struct queue_args *qa = vqargs;
+ struct pr_queue_args *qa = vqargs;
qa->n_done++;
@@ -811,7 +811,7 @@ void refine_all(Crystal **crystals, int n_crystals,
SymOpList *sym, SymOpList *amb, int scaleflags)
{
struct refine_args task_defaults;
- struct queue_args qargs;
+ struct pr_queue_args qargs;
task_defaults.full = full;
task_defaults.crystal = NULL;