diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-11-22 16:38:26 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-11-22 16:38:26 +0000 |
commit | 93b0cc48ca9115e22793c2808724e626784f29df (patch) | |
tree | aa6cc1dd07ed93b0b2557b836f961b3de07e7ee1 /usr.sbin/hoststated | |
parent | 9571ef3180105a43f5f823ff867d5657771a282b (diff) |
shuffle some structure elements; avoid using enums in *_config structs.
Diffstat (limited to 'usr.sbin/hoststated')
-rw-r--r-- | usr.sbin/hoststated/hoststated.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/hoststated/hoststated.h b/usr.sbin/hoststated/hoststated.h index 9ab299b04bb..58027f6794a 100644 --- a/usr.sbin/hoststated/hoststated.h +++ b/usr.sbin/hoststated/hoststated.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hoststated.h,v 1.82 2007/11/22 16:07:03 reyk Exp $ */ +/* $OpenBSD: hoststated.h,v 1.83 2007/11/22 16:38:25 reyk Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -326,8 +326,8 @@ struct host { u_long check_cnt; u_long up_cnt; int retry_cnt; - struct ctl_tcp_event cte; int idx; + struct ctl_tcp_event cte; }; TAILQ_HEAD(hostlist, host); @@ -358,7 +358,7 @@ struct table_config { char path[MAXPATHLEN]; char exbuf[64]; char digest[41]; /* length of sha1 digest * 2 */ - enum digest_type digest_type; + u_int8_t digest_type; }; struct table { |