diff options
author | bde <bde@FreeBSD.org> | 1995-09-19 13:31:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-09-19 13:31:04 +0000 |
commit | ad23d1b01eef119d48c0cb43e8624662e0900cdc (patch) | |
tree | 609526e4a0d39688a81b25c000f674c78f2e4501 /sys/kern/Makefile | |
parent | 2c8d5766d6d44155fd334a8c6dc1bfdbaec12d70 (diff) | |
download | FreeBSD-src-ad23d1b01eef119d48c0cb43e8624662e0900cdc.zip FreeBSD-src-ad23d1b01eef119d48c0cb43e8624662e0900cdc.tar.gz |
Generate prototypes for syscall-implementing functions. Put them in
<sys/sysproto.h> 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.
Diffstat (limited to 'sys/kern/Makefile')
-rw-r--r-- | sys/kern/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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: |