summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs/procfs_ctl.c
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-01-30 20:45:36 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-01-30 20:45:36 +0000
commitf4ca009318dd00a3457741ce99764a6ba3d19a3e (patch)
treeebb8dedcc23a899dc0a07324baf6ec4ce4ad4be4 /sys/miscfs/procfs/procfs_ctl.c
parenta9a53aa7b56a80647eeb095733a5239751dbf725 (diff)
Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok
Diffstat (limited to 'sys/miscfs/procfs/procfs_ctl.c')
-rw-r--r--sys/miscfs/procfs/procfs_ctl.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/miscfs/procfs/procfs_ctl.c b/sys/miscfs/procfs/procfs_ctl.c
index 5b2d9ab50d0..4b09aaaae23 100644
--- a/sys/miscfs/procfs/procfs_ctl.c
+++ b/sys/miscfs/procfs/procfs_ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procfs_ctl.c,v 1.7 1997/08/29 04:24:37 millert Exp $ */
+/* $OpenBSD: procfs_ctl.c,v 1.8 2002/01/30 20:45:35 nordin Exp $ */
/* $NetBSD: procfs_ctl.c,v 1.14 1996/02/09 22:40:48 christos Exp $ */
/*
@@ -102,11 +102,6 @@ static vfs_namemap_t signames[] = {
static int procfs_control __P((struct proc *, struct proc *, int));
-/* Macros to clear/set/test flags. */
-#define SET(t, f) (t) |= (f)
-#define CLR(t, f) (t) &= ~(f)
-#define ISSET(t, f) ((t) & (f))
-
static int
procfs_control(curp, p, op)
struct proc *curp; /* tracer */