Commit 8b93f859 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1709 from cubicdaiya/issues/nonvoid

Give the type 'void' to functions have no argument.
parents 7586d474 3d716f23
......@@ -30,12 +30,12 @@ static void mt_g_srand(unsigned long seed)
init_genrand(seed);
}
static unsigned long mt_g_rand()
static unsigned long mt_g_rand(void)
{
return genrand_int32();
}
static double mt_g_rand_real()
static double mt_g_rand_real(void)
{
return genrand_real1();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment