File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ typedef struct _php_random_class_algo {
28
28
const unsigned char bytes ;
29
29
const size_t state_size ;
30
30
uint64_t (* next )(void * state );
31
- void * (* init )();
31
+ void * (* init )(void );
32
32
void (* seed )(void * state , const zend_long seed );
33
33
int (* serialize )(void * state , zval * return_value );
34
34
int (* unserialize )(void * state , HashTable * data );
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ static uint64_t xorshift128plus_next(void *state) {
344
344
return r ;
345
345
}
346
346
347
- static void * xorshift128plus_init () {
347
+ static void * xorshift128plus_init (void ) {
348
348
return ecalloc (1 , sizeof (xorshift128plus_state ));
349
349
}
350
350
@@ -445,7 +445,7 @@ static uint64_t mt19937_next(void *state) {
445
445
return ( s1 ^ (s1 >> 18 ) );
446
446
}
447
447
448
- static void * mt19937_init () {
448
+ static void * mt19937_init (void ) {
449
449
return ecalloc (1 , sizeof (mt19937_state ));
450
450
}
451
451
You can’t perform that action at this time.
0 commit comments