mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-21 02:05:38 +00:00
pipewire: utils: pw_random_init(): do not use old style declaration
This commit is contained in:
parent
f8344a3908
commit
3feb6762e4
|
@ -1353,7 +1353,7 @@ bool pw_log_is_default(void);
|
|||
void pw_log_init(void);
|
||||
void pw_log_deinit(void);
|
||||
|
||||
void pw_random_init();
|
||||
void pw_random_init(void);
|
||||
|
||||
void pw_settings_init(struct pw_context *context);
|
||||
int pw_settings_expose(struct pw_context *context);
|
||||
|
|
|
@ -227,7 +227,7 @@ void pw_random(void *buf, size_t buflen)
|
|||
}
|
||||
}
|
||||
|
||||
void pw_random_init()
|
||||
void pw_random_init(void)
|
||||
{
|
||||
unsigned int seed;
|
||||
if (pw_getrandom(&seed, sizeof(seed), 0) < 0) {
|
||||
|
|
Loading…
Reference in a new issue