summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/proc.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-12-03 08:42:12 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-12-03 08:42:12 +0000
commit76f0632e94648b42a21fff016f294ae0bf22ff1b (patch)
tree5abe8f8953b9198fef43f01ca5e335defa645c7f /usr.sbin/vmd/proc.h
parent7339cd0627869c999974dd42aa5431d9377084f9 (diff)
spacing
Diffstat (limited to 'usr.sbin/vmd/proc.h')
-rw-r--r--usr.sbin/vmd/proc.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/vmd/proc.h b/usr.sbin/vmd/proc.h
index 9cd1b5ba9bf..b9228afed36 100644
--- a/usr.sbin/vmd/proc.h
+++ b/usr.sbin/vmd/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.4 2015/12/02 22:19:11 reyk Exp $ */
+/* $OpenBSD: proc.h,v 1.5 2015/12/03 08:42:11 reyk Exp $ */
/*
* Copyright (c) 2010-2015 Reyk Floeter <reyk@openbsd.org>
@@ -26,7 +26,7 @@
#define _PROC_H
enum {
- IMSG_NONE,
+ IMSG_NONE,
IMSG_CTL_OK,
IMSG_CTL_FAIL,
IMSG_CTL_VERBOSE,
@@ -72,8 +72,8 @@ struct {
struct ctl_conn {
TAILQ_ENTRY(ctl_conn) entry;
- u_int8_t flags;
- u_int waiting;
+ uint8_t flags;
+ unsigned int waiting;
#define CTL_CONN_NOTIFY 0x01
struct imsgev iev;
@@ -104,7 +104,7 @@ struct privsep {
struct imsgev *ps_ievs[PROC_MAX];
const char *ps_title[PROC_MAX];
pid_t ps_pid[PROC_MAX];
- u_int8_t ps_what[PROC_MAX];
+ uint8_t ps_what[PROC_MAX];
struct passwd *ps_pw;
int ps_noaction;
@@ -112,9 +112,9 @@ struct privsep {
struct control_sock ps_csock;
struct control_socks ps_rcsocks;
- u_int ps_instances[PROC_MAX];
- u_int ps_ninstances;
- u_int ps_instance;
+ unsigned int ps_instances[PROC_MAX];
+ unsigned int ps_ninstances;
+ unsigned int ps_instance;
/* Event and signal handlers */
struct event ps_evsigint;
@@ -138,7 +138,7 @@ struct privsep_proc {
struct privsep *p_ps;
void *p_env;
void (*p_shutdown)(void);
- u_int p_instance;
+ unsigned int p_instance;
};
/* proc.c */