From 5a84f9883932fbf90adb9dd3951956e85776adb9 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 19 Mar 2002 20:48:32 +0000 Subject: don't generate files with __P. --- sys/kern/makesyscalls.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/makesyscalls.sh') 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 -- cgit v1.1