提交 7a1bb4f9 编写于 作者: J Johannes Berg 提交者: Richard Weinberger

um: Fix VDSO compiler warning

Fix a warning about the function type being wrong.
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 0dafcbe1
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册