summaryrefslogtreecommitdiff
path: root/usr.sbin/mlxcontrol
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
committerJake Burkholder <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
commit740a1973a62eaa8e1dc23e22f84dacb3346d303a (patch)
treeacf054a865eef37380f5ac3d3c07766b5bb234b0 /usr.sbin/mlxcontrol
parentb4183771fd8ab7a5946fd38df04c1e24b1268bea (diff)
downloadsrc-test-740a1973a62eaa8e1dc23e22f84dacb3346d303a.tar.gz
src-test-740a1973a62eaa8e1dc23e22f84dacb3346d303a.zip
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
Notes
Notes: svn path=/head/; revision=60833
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 f0225b5b6f88b..e8f322f20c02e 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;
};