[CRIU] [PATCH 1/2] types: use siginfo_t from signal.h for rt_signalfn_t declaration

Cyrill Gorcunov gorcunov at openvz.org
Wed Oct 17 13:47:43 EDT 2012


It should fit the sa_sigaction declaration, otherwise compiler
complains about uncasted assignments.

 | restorer.c: In function ‘__export_restore_task’:
 | restorer.c:318:20: error: assignment from incompatible pointer type [-Werror]

So just use siginfo_t here from the system signal.h header.

Signed-off-by: Andrew Grigorev <andrew at ei-grad.ru>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/types.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-types-use-siginfo_t-from-signal.h-for-rt_signalfn_t-.patch
Type: text/x-patch
Size: 516 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121017/db21df7a/0001-types-use-siginfo_t-from-signal.h-for-rt_signalfn_t-.bin


More information about the CRIU mailing list