summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/imgtool/modules/psion.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-09-03 16:11:58 -0400
committer Nathan Woods <npwoods@mess.org>2016-09-03 16:11:58 -0400
commit4251194fe5b9f4d7551c362326e7ca20bc7da99b (patch)
treeb82bba2120de1fbfd16631b91ba8b479e2ccf9fe /src/tools/imgtool/modules/psion.cpp
parentbe3c18302e117049c0f4c75f719afc3d3d69aa08 (diff)
Worked around the OPTION_GUIDE_EXTERN issue by using a crazy trick involving namespaces
Caveats: 1. Because of how this trick works, it is no longer possible to declare an option guide as static, so I had to make a bunch of changes 2. I'm going to want the hardcore C++ guys (i.e. - Vas) to review this with a fine toothed comb
Diffstat (limited to 'src/tools/imgtool/modules/psion.cpp')
-rw-r--r--src/tools/imgtool/modules/psion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/imgtool/modules/psion.cpp b/src/tools/imgtool/modules/psion.cpp
index c0f35f57b2e..3fcd398d30e 100644
--- a/src/tools/imgtool/modules/psion.cpp
+++ b/src/tools/imgtool/modules/psion.cpp
@@ -626,7 +626,7 @@ static imgtoolerr_t datapack_delete_file( imgtool_partition *partition, const ch
return IMGTOOLERR_FILENOTFOUND;
}
-static OPTION_GUIDE_START( psion_create_optguide )
+OPTION_GUIDE_START( psion_create_optguide )
OPTION_ENUM_START( 'S', "size", "datapack size" )
OPTION_ENUM( 1, "8k", "8 kbyte" )
OPTION_ENUM( 2, "16k", "16 kbyts" )
@@ -641,7 +641,7 @@ static OPTION_GUIDE_START( psion_create_optguide )
OPTION_INT('C', "copy", "copyable datapack" )
OPTION_GUIDE_END
-static OPTION_GUIDE_START( psion_write_optguide )
+OPTION_GUIDE_START( psion_write_optguide )
OPTION_ENUM_START( 'T', "type", "file type" )
OPTION_ENUM( 1, "OB3", "OB3 files" )
OPTION_ENUM( 2, "OPL", "OPL files" )