summaryrefslogtreecommitdiff
path: root/usr.bin/systat/systat.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-23 22:20:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-23 22:20:07 +0000
commit2b5bf0455cfdd3b06f52578c304a38c1bf3a7b71 (patch)
tree37ef459856cfa832a96015c1198685a1d081c657 /usr.bin/systat/systat.h
parent6df9f030ceddc8afca7343c0bfe949a027e08212 (diff)
fix signal races. use sysctl() instead of kvm where possible, and then KNF
the hell out of it; checked by miod
Diffstat (limited to 'usr.bin/systat/systat.h')
-rw-r--r--usr.bin/systat/systat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/systat/systat.h b/usr.bin/systat/systat.h
index 572ac2bc492..36394819d33 100644
--- a/usr.bin/systat/systat.h
+++ b/usr.bin/systat/systat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: systat.h,v 1.3 1997/06/23 22:21:49 millert Exp $ */
+/* $OpenBSD: systat.h,v 1.4 2001/11/23 22:20:06 deraadt Exp $ */
/* $NetBSD: systat.h,v 1.2 1995/01/20 08:52:14 jtc Exp $ */
/*-
@@ -60,4 +60,3 @@ struct cmdtab {
#define NVAL(indx) namelist[(indx)].n_value
#define NPTR(indx) (void *)NVAL((indx))
#define NREAD(indx, buf, len) kvm_ckread(NPTR((indx)), (buf), (len))
-#define LONG (sizeof (long))