summaryrefslogtreecommitdiffstats
path: root/sys/sys/acct.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2003-03-28 15:27:30 +0000
committermike <mike@FreeBSD.org>2003-03-28 15:27:30 +0000
commit70f89c52b847076a353c28b1b081c645af2e39e8 (patch)
tree02ce50a896e9b4fa9b4ada3981116a7781223b5d /sys/sys/acct.h
parentd6b685fe45c9bfe193fd3cdf5dc53d54df6897ac (diff)
downloadFreeBSD-src-70f89c52b847076a353c28b1b081c645af2e39e8.zip
FreeBSD-src-70f89c52b847076a353c28b1b081c645af2e39e8.tar.gz
Move details of dev_t (and udev_t) to <sys/_types.h>.
Diffstat (limited to 'sys/sys/acct.h')
-rw-r--r--sys/sys/acct.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/sys/acct.h b/sys/sys/acct.h
index 8e1b294..d0ff947 100644
--- a/sys/sys/acct.h
+++ b/sys/sys/acct.h
@@ -49,12 +49,6 @@
*/
typedef u_int16_t comp_t;
-#ifdef _KERNEL
-#define __dev_t udev_t
-#else
-#define __dev_t dev_t
-#endif
-
#define AC_COMM_LEN 16
struct acct {
char ac_comm[AC_COMM_LEN]; /* command name */
@@ -66,7 +60,7 @@ struct acct {
gid_t ac_gid; /* group id */
u_int16_t ac_mem; /* average memory usage */
comp_t ac_io; /* count of IO blocks */
- __dev_t ac_tty; /* controlling tty */
+ __udev_t ac_tty; /* controlling tty */
#define AFORK 0x01 /* forked but not exec'ed */
/* ASU is no longer supported */
@@ -76,7 +70,6 @@ struct acct {
#define AXSIG 0x10 /* killed by a signal */
u_int8_t ac_flag; /* accounting flags */
};
-#undef __dev_t
/*
* 1/AHZ is the granularity of the data encoded in the comp_t fields.
OpenPOWER on IntegriCloud