summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_variables.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
committermillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
commitc4071fd13883b3f74b90a411bbb39755a785aeaa (patch)
tree241e7c760222fac909b512d36156c6db1b610256 /sys/ddb/db_variables.c
parentcompare pointers with NULL not 0 (diff)
downloadwireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.tar.xz
wireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.zip
First round of __P removal in sys
Diffstat (limited to 'sys/ddb/db_variables.c')
-rw-r--r--sys/ddb/db_variables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_variables.c b/sys/ddb/db_variables.c
index 546a238f13e..7d47b65c400 100644
--- a/sys/ddb/db_variables.c
+++ b/sys/ddb/db_variables.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_variables.c,v 1.8 2001/11/06 19:53:18 miod Exp $ */
+/* $OpenBSD: db_variables.c,v 1.9 2002/03/14 01:26:51 millert Exp $ */
/* $NetBSD: db_variables.c,v 1.8 1996/02/05 01:57:19 christos Exp $ */
/*
@@ -111,7 +111,7 @@ db_read_variable(vp, valuep)
struct db_variable *vp;
db_expr_t *valuep;
{
- int (*func) __P((struct db_variable *, db_expr_t *, int)) = vp->fcn;
+ int (*func)(struct db_variable *, db_expr_t *, int) = vp->fcn;
if (func == FCN_NULL)
*valuep = *(vp->valuep);
@@ -124,7 +124,7 @@ db_write_variable(vp, valuep)
struct db_variable *vp;
db_expr_t *valuep;
{
- int (*func) __P((struct db_variable *, db_expr_t *, int)) = vp->fcn;
+ int (*func)(struct db_variable *, db_expr_t *, int) = vp->fcn;
if (func == FCN_NULL)
*(vp->valuep) = *valuep;