diff options
author | bde <bde@FreeBSD.org> | 1995-11-12 06:43:28 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-12 06:43:28 +0000 |
commit | aa9a60640e2c942769c3a8f506c8cb6317bb1eaf (patch) | |
tree | 2f26975a8fd164c9658b820d74c731c86cbb9e18 /sys/kern/sys_process.c | |
parent | 7a9faab8f26e7692e572f4cdd89f30d1be471ebd (diff) | |
download | FreeBSD-src-aa9a60640e2c942769c3a8f506c8cb6317bb1eaf.zip FreeBSD-src-aa9a60640e2c942769c3a8f506c8cb6317bb1eaf.tar.gz |
Included <sys/sysproto.h> to get central declarations for syscall args
structs and prototypes for syscalls.
Ifdefed duplicated decentralized declarations of args structs. It's
convenient to have this visible but they are hard to maintain. Some
are already different from the central declarations. 4.4lite2 puts
them in comments in the function headers but I wanted to avoid the
large changes for that.
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r-- | sys/kern/sys_process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 4a01c60..b82fc9d 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -28,11 +28,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sys_process.c,v 1.13 1995/05/12 21:39:48 davidg Exp $ + * $Id: sys_process.c,v 1.14 1995/05/30 08:05:58 rgrimes Exp $ */ #include <sys/param.h> #include <sys/systm.h> +#include <sys/sysproto.h> #include <sys/proc.h> #include <sys/vnode.h> #include <sys/ptrace.h> @@ -186,12 +187,14 @@ pwrite (struct proc *procp, unsigned int addr, unsigned int datum) { /* * Process debugging system call. */ +#ifndef _SYS_SYSPROTO_H_ struct ptrace_args { int req; pid_t pid; caddr_t addr; int data; }; +#endif int ptrace(curp, uap, retval) |