Skip to content

Commit

Permalink
240430.195955.HKT add static to the definition of get_random_seed
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Apr 30, 2024
1 parent cd4ed08 commit 4053ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/tests/stress.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static void fun_con(const double x[], double *const f, double constr[], const vo
}

// A function generating a seed that alters weekly
unsigned int get_random_seed(void)
static unsigned int get_random_seed(void)
{
// Set the random seed to year/week
char buf[10] = {0};
Expand Down

0 comments on commit 4053ef5

Please sign in to comment.