Skip to content

Commit

Permalink
x86: ptrace.c declare functions before they get used
Browse files Browse the repository at this point in the history
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
  • Loading branch information
Jaswinder Singh authored and Ingo Molnar committed Jul 22, 2008
1 parent 3645493 commit c1686ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-x86/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c1686ae

Please sign in to comment.