mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
scst: Make command state numbers consecutive
This makes it easier for the compiler to optimize command state switch statements. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7480 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -165,7 +165,8 @@ enum {
|
||||
/* Internal cmd finished */
|
||||
SCST_CMD_STATE_FINISHED_INTERNAL,
|
||||
|
||||
SCST_CMD_STATE_LAST_ACTIVE = (SCST_CMD_STATE_FINISHED_INTERNAL+100),
|
||||
/* An invalid command state */
|
||||
SCST_CMD_STATE_LAST_ACTIVE,
|
||||
|
||||
/** Passive states **/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user