From e11eaace99dc4ea0704b20e623af4f105fb168ee Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Mon, 7 Nov 2016 03:30:59 +0000 Subject: Hide FIX_SSTEP() behind #ifdef _KERNEL ok deraadt@ --- sys/arch/alpha/include/ptrace.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/arch/alpha/include/ptrace.h b/sys/arch/alpha/include/ptrace.h index 7ca5e63a309..298eee25fc1 100644 --- a/sys/arch/alpha/include/ptrace.h +++ b/sys/arch/alpha/include/ptrace.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ptrace.h,v 1.5 2011/03/23 16:54:34 pirofti Exp $ */ +/* $OpenBSD: ptrace.h,v 1.6 2016/11/07 03:30:58 guenther Exp $ */ /* $NetBSD: ptrace.h,v 1.1 1995/02/13 23:07:51 cgd Exp $ */ /* @@ -43,6 +43,8 @@ #define PT_SETFPREGS (PT_FIRSTMACH + 3) #define PT_STEP (PT_FIRSTMACH + 4) -#define FIX_SSTEP(p) process_sstep(p, 0) +#ifdef _KERNEL +# define FIX_SSTEP(p) process_sstep(p, 0) +#endif #endif -- cgit v1.2.3