Skip to content

Commit 7a1bb4f

Browse files
jmberg-intelrichardweinberger
authored andcommitted
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>
1 parent 0dafcbe commit 7a1bb4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/x86/um/vdso/um_vdso.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ time_t __vdso_time(time_t *t)
4747

4848
return secs;
4949
}
50-
int time(time_t *t) __attribute__((weak, alias("__vdso_time")));
50+
time_t time(time_t *t) __attribute__((weak, alias("__vdso_time")));
5151

5252
long
5353
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)

0 commit comments

Comments
 (0)