Skip to content
Snippets Groups Projects
Commit f0e44d66 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Removed prototypes of non-existing functions.

parent 59928bd0
No related branches found
No related tags found
1 merge request!153Mpi multi dt fix
......@@ -1239,6 +1239,7 @@ void runner_dorecv_cell(struct runner *r, struct cell *c, int timer) {
int ti_end_max = 0;
float h_max = 0.f;
/* Collect everything... */
for (size_t k = 0; k < nr_parts; k++) {
ti_end_min = min(ti_end_min, parts[k].ti_end);
ti_end_max = max(ti_end_max, parts[k].ti_end);
......@@ -1249,6 +1250,7 @@ void runner_dorecv_cell(struct runner *r, struct cell *c, int timer) {
ti_end_max = max(ti_end_max, gparts[k].ti_end);
}
/* ... and store. */
c->ti_end_min = ti_end_min;
c->ti_end_max = ti_end_max;
c->h_max = h_max;
......
......@@ -48,10 +48,6 @@ struct runner {
/* Function prototypes. */
void runner_doghost(struct runner *r, struct cell *c);
void runner_dopair_density(struct runner *r, struct cell *ci, struct cell *cj);
void runner_doself_density(struct runner *r, struct cell *c);
void runner_dosub_density(struct runner *r, struct cell *ci, struct cell *cj,
int flags);
void runner_dosort(struct runner *r, struct cell *c, int flag, int clock);
void runner_dogsort(struct runner *r, struct cell *c, int flag, int clock);
void runner_dokick(struct runner *r, struct cell *c, int timer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment