Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
f0e44d66
Commit
f0e44d66
authored
Apr 23, 2016
by
Matthieu Schaller
Browse files
Removed prototypes of non-existing functions.
parent
59928bd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/runner.c
View file @
f0e44d66
...
...
@@ -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
;
...
...
src/runner.h
View file @
f0e44d66
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment