mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 01:34:12 +00:00
smc: fix smc_init() definition
clang 17 now enforces strict prototyping. add void to the parameters to fix building with clang going forward. Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
This commit is contained in:
parent
50ac69eaa5
commit
c3820a5016
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void smc_shutdown(smc_dev_t *smc)
|
||||||
free(smc);
|
free(smc);
|
||||||
}
|
}
|
||||||
|
|
||||||
smc_dev_t *smc_init()
|
smc_dev_t *smc_init(void)
|
||||||
{
|
{
|
||||||
smc_dev_t *smc = calloc(1, sizeof(smc_dev_t));
|
smc_dev_t *smc = calloc(1, sizeof(smc_dev_t));
|
||||||
if (!smc)
|
if (!smc)
|
||||||
|
|
Loading…
Reference in a new issue