x86: ptrace.c declare functions before they get used

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
This commit is contained in:
Jaswinder Singh 2008-07-21 22:35:38 +05:30 committed by Ingo Molnar
parent 36454936c0
commit c1686aeaf0
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs,
void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
#endif
extern long syscall_trace_enter(struct pt_regs *);
extern void syscall_trace_leave(struct pt_regs *);
static inline unsigned long regs_return_value(struct pt_regs *regs)
{
return regs->ax;