Commit e7b65619 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

headers: Beautify sigframe.h

- include "protobuf/core.pb-c.h" for CoreEntry definition
- gather structure predeclaration on top
- move general comment on top as well
- add extern for construct_sigframe helper
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f53be5b0
/*
* Generic sigframe bits.
*/
#ifndef __CR_SIGFRAME_H__
#define __CR_SIGFRAME_H__
// Generic sigframe bits
struct rt_sigframe;
#ifndef __ARCH_SI_PREAMBLE_SIZE
#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
......@@ -35,8 +39,8 @@ struct rt_ucontext {
unsigned long uc_regspace[128] __attribute__((__aligned__(8)));
};
struct rt_sigframe;
int construct_sigframe(struct rt_sigframe *sigframe,
struct rt_sigframe *rsigframe,
CoreEntry *core);
#endif
extern int construct_sigframe(struct rt_sigframe *sigframe,
struct rt_sigframe *rsigframe,
CoreEntry *core);
#endif /* __CR_SIGFRAME_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment