aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2013-02-14 16:51:45 +0100
committerMichal Soltys <soltys@ziu.info>2013-02-14 16:53:04 +0100
commite0f464b253260e668d6602b07857c75a560b0616 (patch)
tree7bda2c6dda2b4a94c90e94d0df2bb7e95aae00ac /com32/chain/partiter.h
parent1fa91c1fabf1a82196d76ee5f16c88cec5aa6b8e (diff)
downloadsyslinux-e0f464b253260e668d6602b07857c75a560b0616.tar.gz
syslinux-e0f464b253260e668d6602b07857c75a560b0616.tar.xz
syslinux-e0f464b253260e668d6602b07857c75a560b0616.zip
com32/chain: use anonymous and unnamed aggregates
Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 8b478224..4f5a23d7 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -69,8 +69,8 @@ struct part_iter {
int status;
/* internal */
int index0;
- union _sub {
- struct _dos {
+ union {
+ struct {
uint32_t disk_sig;
uint32_t nebr_lba;
uint32_t cebr_lba;
@@ -82,7 +82,7 @@ struct part_iter {
int bebr_index0;
int skipcnt;
} dos;
- struct _gpt {
+ struct {
struct guid disk_guid;
struct guid part_guid;
char part_label[PI_GPTLABSIZE/2+1];
@@ -91,7 +91,7 @@ struct part_iter {
uint64_t ufirst;
uint64_t ulast;
} gpt;
- } sub;
+ };
};
extern const struct itertype * const typedos;