diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 19:52:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 19:52:15 +0000 |
commit | 22c73f78e77c007d9ecf2a43b181f7132905ebd5 (patch) | |
tree | d1d17315fd0b86fbdde72f5e47f4e89e5552d59b /sys/vm | |
parent | fb8b6c25464667e06da674000d2eba7bc9597221 (diff) | |
download | FreeBSD-src-22c73f78e77c007d9ecf2a43b181f7132905ebd5.zip FreeBSD-src-22c73f78e77c007d9ecf2a43b181f7132905ebd5.tar.gz |
Prepend _ to internal union members to avoid ambiguity.
Found by: FlexeLint
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/uma_int.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h index ce4054f..8d92336 100644 --- a/sys/vm/uma_int.h +++ b/sys/vm/uma_int.h @@ -143,8 +143,8 @@ struct uma_slab { uma_zone_t us_zone; /* Zone we live in */ union { - LIST_ENTRY(uma_slab) us_link; /* slabs in zone */ - unsigned long us_size; /* Size of allocation */ + LIST_ENTRY(uma_slab) _us_link; /* slabs in zone */ + unsigned long _us_size; /* Size of allocation */ } us_type; SLIST_ENTRY(uma_slab) us_hlink; /* Link for hash table */ u_int8_t *us_data; /* First item */ @@ -154,8 +154,8 @@ struct uma_slab { u_int8_t us_freelist[1]; /* Free List (actually larger) */ }; -#define us_link us_type.us_link -#define us_size us_type.us_size +#define us_link us_type._us_link +#define us_size us_type._us_size typedef struct uma_slab * uma_slab_t; |