summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs
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
parenta9a53aa7b56a80647eeb095733a5239751dbf725 (diff)
Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok
Diffstat (limited to 'sys/miscfs/procfs')
-rw-r--r--sys/miscfs/procfs/procfs_ctl.c7
-rw-r--r--sys/miscfs/procfs/procfs_mem.c4
2 files changed, 2 insertions, 9 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 */
diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c
index afa929c1f7a..a06866f537a 100644
--- a/sys/miscfs/procfs/procfs_mem.c
+++ b/sys/miscfs/procfs/procfs_mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procfs_mem.c,v 1.16 2002/01/20 11:27:52 art Exp $ */
+/* $OpenBSD: procfs_mem.c,v 1.17 2002/01/30 20:45:35 nordin Exp $ */
/* $NetBSD: procfs_mem.c,v 1.8 1996/02/09 22:40:50 christos Exp $ */
/*
@@ -56,8 +56,6 @@
#include <uvm/uvm_extern.h>
-#define ISSET(t, f) ((t) & (f))
-
/*
* Copy data in and out of the target process.
* We do this by mapping the process's page into