Skip to content
Snippets Groups Projects
Commit 38105aab authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

dthreads: fix declarations without parameters

parent 179daebd
No related branches found
No related tags found
1 merge request!232Zone events queue
......@@ -744,7 +744,7 @@ int dt_compact(dt_unit_t *unit)
return KNOT_EOK;
}
int dt_online_cpus()
int dt_online_cpus(void)
{
int ret = -1;
/* Linux, Solaris, OS X 10.4+ */
......@@ -762,7 +762,7 @@ int dt_online_cpus()
return ret;
}
int dt_optimal_size()
int dt_optimal_size(void)
{
int ret = dt_online_cpus();
if (ret > 1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment