summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-11-08 13:28:46 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-11-08 13:28:46 +0100
commitdfa148ff8022e9f1a544c8603dd0e8c4aa469c1e (patch)
treeb7a64490e032dc0db3b0da12fe0387379c02884b /src
parent5deec43cbce364c22286914102c0887a9c41bcba (diff)
fix building tools (nw)
Diffstat (limited to 'src')
-rw-r--r--src/tools/imgtool/modules.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/imgtool/modules.cpp b/src/tools/imgtool/modules.cpp
index e5f0c43690c..982fec1972c 100644
--- a/src/tools/imgtool/modules.cpp
+++ b/src/tools/imgtool/modules.cpp
@@ -16,14 +16,14 @@
/* step 1: declare all external references */
#define MODULE(name) extern void name##_get_info(const imgtool_class *imgclass, UINT32 state, union imgtoolinfo *info);
-#include "modules.c"
+#include "modules.cpp"
#undef MODULE
/* step 2: define the modules[] array */
#define MODULE(name) name##_get_info,
static void (*const modules[])(const imgtool_class *imgclass, UINT32 state, union imgtoolinfo *info) =
{
-#include "modules.c"
+#include "modules.cpp"
};
/* step 3: declare imgtool_create_cannonical_library() */