diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-19 20:48:32 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-19 20:48:32 +0000 |
commit | 5a84f9883932fbf90adb9dd3951956e85776adb9 (patch) | |
tree | 10474dd2c8cf248153bcfe1391141af41a5cc2c4 | |
parent | 5fdc63cd155a5e019b689b56104f4e6d05167b5a (diff) | |
download | FreeBSD-src-5a84f9883932fbf90adb9dd3951956e85776adb9.zip FreeBSD-src-5a84f9883932fbf90adb9dd3951956e85776adb9.tar.gz |
don't generate files with __P.
-rw-r--r-- | sys/kern/makesyscalls.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index 62ec224..3277c26 100644 --- a/sys/kern/makesyscalls.sh +++ b/sys/kern/makesyscalls.sh @@ -316,7 +316,7 @@ s/\$//g (funcname != "nosys" || !nosys)) || \ (funcname == "lkmnosys" && !lkmnosys) || \ funcname == "lkmressys") { - printf("%s\t%s __P((struct thread *, struct %s *))", + printf("%s\t%s(struct thread *, struct %s *)", rettype, funcname, argalias) > sysdcl printf(";\n") > sysdcl } @@ -364,7 +364,7 @@ s/\$//g else if($2 != "CPT_NOA") printf("struct %s {\n\tregister_t dummy;\n};\n", argalias) > sysarg - printf("%s\to%s __P((struct thread *, struct %s *));\n", + printf("%s\to%s(struct thread *, struct %s *);\n", rettype, funcname, argalias) > syscompatdcl printf("\t{ compat(%s%s,%s) },", mpsafe, argssize, funcname) > sysent |