Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
26bf766b
Commit
26bf766b
authored
Jul 28, 2015
by
Jonathan Jenkins
Browse files
static-ize a function
parent
574041b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/jobmap-impl/jobmap-list.c
View file @
26bf766b
...
@@ -130,14 +130,13 @@ static int jobmap_list_to_global(struct codes_jobmap_id id, void const * ctx)
...
@@ -130,14 +130,13 @@ static int jobmap_list_to_global(struct codes_jobmap_id id, void const * ctx)
return
-
1
;
return
-
1
;
}
}
int
jobmap_list_get_num_jobs
(
void
const
*
ctx
)
static
int
jobmap_list_get_num_jobs
(
void
const
*
ctx
)
{
{
struct
jobmap_list
*
lst
=
(
struct
jobmap_list
*
)
ctx
;
struct
jobmap_list
*
lst
=
(
struct
jobmap_list
*
)
ctx
;
return
lst
->
num_jobs
;
return
lst
->
num_jobs
;
}
}
static
void
jobmap_list_destroy
(
void
*
ctx
)
static
void
jobmap_list_destroy
(
void
*
ctx
)
{
{
struct
jobmap_list
*
lst
=
(
struct
jobmap_list
*
)
ctx
;
struct
jobmap_list
*
lst
=
(
struct
jobmap_list
*
)
ctx
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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