From 14bb70e7621ec936bf46eb767427ec66c3a77116 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 9 Jul 2004 21:53:56 +0000 Subject: better includes for syscalls from kernel --- bin/systrace/Makefile | 4 ++-- bin/systrace/openbsd-syscalls.c | 46 ++++++++++++++++++++--------------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/bin/systrace/Makefile b/bin/systrace/Makefile index 115afd556cf..205c97716de 100644 --- a/bin/systrace/Makefile +++ b/bin/systrace/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.12 2004/01/23 20:51:18 sturm Exp $ +# $OpenBSD: Makefile,v 1.13 2004/07/09 21:53:55 mickey Exp $ PROG= systrace -CFLAGS+=-I. -I${.CURDIR} +CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ -Wno-uninitialized CFLAGS+=-DYY_NO_UNPUT diff --git a/bin/systrace/openbsd-syscalls.c b/bin/systrace/openbsd-syscalls.c index 4f45909a3c3..106bcc09264 100644 --- a/bin/systrace/openbsd-syscalls.c +++ b/bin/systrace/openbsd-syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openbsd-syscalls.c,v 1.25 2004/07/07 07:31:40 marius Exp $ */ +/* $OpenBSD: openbsd-syscalls.c,v 1.26 2004/07/09 21:53:55 mickey Exp $ */ /* * Copyright 2002 Niels Provos * All rights reserved. @@ -33,16 +33,16 @@ #include -#include "../../sys/compat/bsdos/bsdos_syscall.h" -#include "../../sys/compat/freebsd/freebsd_syscall.h" -#include "../../sys/compat/netbsd/netbsd_syscall.h" -#include "../../sys/compat/hpux/hpux_syscall.h" -#include "../../sys/compat/ibcs2/ibcs2_syscall.h" -#include "../../sys/compat/linux/linux_syscall.h" -#include "../../sys/compat/osf1/osf1_syscall.h" -#include "../../sys/compat/sunos/sunos_syscall.h" -#include "../../sys/compat/svr4/svr4_syscall.h" -#include "../../sys/compat/ultrix/ultrix_syscall.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #define KTRACE #define NFSCLIENT @@ -51,18 +51,18 @@ #define SYSVMSG #define SYSVSHM #define LFS -#include "../../sys/kern/syscalls.c" - -#include "../../sys/compat/bsdos/bsdos_syscalls.c" -#include "../../sys/compat/freebsd/freebsd_syscalls.c" -#include "../../sys/compat/netbsd/netbsd_syscalls.c" -#include "../../sys/compat/hpux/hpux_syscalls.c" -#include "../../sys/compat/ibcs2/ibcs2_syscalls.c" -#include "../../sys/compat/linux/linux_syscalls.c" -#include "../../sys/compat/osf1/osf1_syscalls.c" -#include "../../sys/compat/sunos/sunos_syscalls.c" -#include "../../sys/compat/svr4/svr4_syscalls.c" -#include "../../sys/compat/ultrix/ultrix_syscalls.c" +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #undef KTRACE #undef NFSCLIENT #undef NFSSERVER -- cgit v1.2.3