From ad23d1b01eef119d48c0cb43e8624662e0900cdc Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 19 Sep 1995 13:31:04 +0000 Subject: Generate prototypes for syscall-implementing functions. Put them in and use them (so far only) in kern/init_sysent.c. Don't put $Id in generated files. kern/syscalls.master: I had to add some new fields to describe some non-orthogonal names. E.g., the args struct for the syscall-implementing function foo() is usually named `foo_args', but for getpid() it is named `args'. sys/sysent.h: sy_call_t is still incomplete to hide a couple of warnings. --- sys/kern/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/kern/Makefile') diff --git a/sys/kern/Makefile b/sys/kern/Makefile index 21e0f50..f71d5e7 100644 --- a/sys/kern/Makefile +++ b/sys/kern/Makefile @@ -7,11 +7,13 @@ ARCH= hp300 i386 luna68k news3400 pmax sparc tahoe vax all: @echo "make tags, make links or init_sysent.c only" -init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscall-hide.h: makesyscalls.sh syscalls.master +init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscall-hide.h \ +../sys/sysproto.h: makesyscalls.sh syscalls.master -mv -f init_sysent.c init_sysent.c.bak -mv -f syscalls.c syscalls.c.bak -mv -f ../sys/syscall.h ../sys/syscall.h.bak -mv -f ../sys/syscall-hide.h ../sys/syscall-hide.h.bak + -mv -f ../sys/sysproto.h ../sys/sysproto.h.bak sh makesyscalls.sh syscalls.master # Kernel tags: -- cgit v1.1