Skip to content

Commit 4053ef5

Browse files
committed
240430.195955.HKT add static to the definition of get_random_seed
1 parent cd4ed08 commit 4053ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/tests/stress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static void fun_con(const double x[], double *const f, double constr[], const vo
6868
}
6969

7070
// A function generating a seed that alters weekly
71-
unsigned int get_random_seed(void)
71+
static unsigned int get_random_seed(void)
7272
{
7373
// Set the random seed to year/week
7474
char buf[10] = {0};

0 commit comments

Comments
 (0)