summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mlxcontrol
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
committerjake <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
commitd93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch)
treea4f130be4544ce7cfe4afa8c93f996b871433cb8 /usr.sbin/mlxcontrol
parente814d2a0db522b0f163eef55a56d05aa226951f3 (diff)
downloadFreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip
FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
Diffstat (limited to 'usr.sbin/mlxcontrol')
-rw-r--r--usr.sbin/mlxcontrol/mlxcontrol.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/mlxcontrol/mlxcontrol.h b/usr.sbin/mlxcontrol/mlxcontrol.h
index f0225b5..e8f322f 100644
--- a/usr.sbin/mlxcontrol/mlxcontrol.h
+++ b/usr.sbin/mlxcontrol/mlxcontrol.h
@@ -58,7 +58,7 @@ extern void mlx_print_phys_drv(struct mlx_phys_drv *drv, int channel, int target
struct conf_phys_drv
{
- TAILQ_ENTRY(conf_phys_drv) pd_link;
+ TAILQ_ENTRY(struct conf_phys_drv) pd_link;
int pd_bus;
int pd_target;
struct mlx_phys_drv pd_drv;
@@ -66,23 +66,23 @@ struct conf_phys_drv
struct conf_span
{
- TAILQ_ENTRY(conf_span) s_link;
+ TAILQ_ENTRY(struct conf_span) s_link;
struct conf_phys_drv *s_drvs[8];
struct mlx_sys_drv_span s_span;
};
struct conf_sys_drv
{
- TAILQ_ENTRY(conf_sys_drv) sd_link;
+ TAILQ_ENTRY(struct conf_sys_drv) sd_link;
struct conf_span *sd_spans[4];
struct mlx_sys_drv sd_drv;
};
struct conf_config
{
- TAILQ_HEAD(,conf_phys_drv) cc_phys_drvs;
- TAILQ_HEAD(,conf_span) cc_spans;
- TAILQ_HEAD(,conf_sys_drv) cc_sys_drvs;
+ TAILQ_HEAD(, struct conf_phys_drv) cc_phys_drvs;
+ TAILQ_HEAD(, struct conf_span) cc_spans;
+ TAILQ_HEAD(, struct conf_sys_drv) cc_sys_drvs;
struct conf_sys_drv *cc_drives[32];
struct mlx_core_cfg cc_cfg;
};
OpenPOWER on IntegriCloud