aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2013-02-14 16:51:46 +0100
committerMichal Soltys <soltys@ziu.info>2013-02-14 16:53:05 +0100
commit5dd95bd511d8f45a588ba465cf9448bd2da1c1e3 (patch)
tree1a63803cd89bcc5d5aeef6c2168f635bcc553222 /com32/chain/partiter.h
parent7967456288ac936c654d3da118e36a552ccfbda5 (diff)
downloadsyslinux-5dd95bd511d8f45a588ba465cf9448bd2da1c1e3.tar.gz
syslinux-5dd95bd511d8f45a588ba465cf9448bd2da1c1e3.tar.xz
syslinux-5dd95bd511d8f45a588ba465cf9448bd2da1c1e3.zip
com32/chain: use single value for partiter related options (flags)
Also use enum instead of #defines for flags. Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 3d2a151b..ab4922ca 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -46,9 +46,7 @@ enum {PI_OK, PI_DONE, PI_INSANE, PI_ERRLOAD};
/* flags */
-#define PIF_STEPALL 0b001
-#define PIF_RELAX 0b010
-#define PIF_PREFMBR 0b100
+enum {PIF_STEPALL = 1, PIF_RELAX = 2, PIF_PREFMBR = 4};
struct itertype;
struct part_iter;