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>
This commit is contained in:
Johannes Berg 2019-08-23 15:05:46 +02:00 committed by Richard Weinberger
parent 0dafcbe128
commit 7a1bb4f990

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)