diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 02:02:57 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 02:02:57 +0000 |
commit | 71eb96ce8a9190e7ffeccbabd7a5ec4f3b4fc72f (patch) | |
tree | c32c75a1a9be1c1239ef749ce0f01b059235419f /sys/kern/vnode_if.sh | |
parent | 798901a75df436c2e28c751ac50ab5efcce6cd7a (diff) |
generate std ANSI protos, not __P ones
Diffstat (limited to 'sys/kern/vnode_if.sh')
-rw-r--r-- | sys/kern/vnode_if.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vnode_if.sh b/sys/kern/vnode_if.sh index b3ce5700ef6..ef324fa91a9 100644 --- a/sys/kern/vnode_if.sh +++ b/sys/kern/vnode_if.sh @@ -33,7 +33,7 @@ copyright="\ * SUCH DAMAGE. */ " -SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.8 2001/02/26 17:34:18 art Exp $' +SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.9 2002/03/14 02:02:56 millert Exp $' # SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.9 1996/02/29 20:58:22 cgd Exp $' # Script to produce VFS front-end sugar. @@ -177,7 +177,7 @@ function doit() { printf("};\n"); printf("extern struct vnodeop_desc %s_desc;\n", name); # Prototype it. - protoarg = sprintf("int %s __P((", toupper(name)); + protoarg = sprintf("int %s (", toupper(name)); protolen = length(protoarg); printf("%s", protoarg); for (i=0; i<argc; i++) { @@ -192,7 +192,7 @@ function doit() { printf("%s", protoarg); protolen += arglen; } - printf("));\n"); + printf(");\n"); } BEGIN { arg0special=""; |