1
0
Fork 0

um: Fix VDSO compiler warning

Fix a warning about the function type being wrong.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
alistair/sunxi64-5.4-dsi
Johannes Berg 2019-08-23 15:05:46 +02:00 committed by Richard Weinberger
parent 0dafcbe128
commit 7a1bb4f990
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ time_t __vdso_time(time_t *t)
return secs;
}
int time(time_t *t) __attribute__((weak, alias("__vdso_time")));
time_t time(time_t *t) __attribute__((weak, alias("__vdso_time")));
long
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)