summaryrefslogtreecommitdiffstats
path: root/examples/cpu-hello-world/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cpu-hello-world/main.cpp')
-rw-r--r--examples/cpu-hello-world/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cpu-hello-world/main.cpp b/examples/cpu-hello-world/main.cpp
index 60a24fa8c..76ca5af1d 100644
--- a/examples/cpu-hello-world/main.cpp
+++ b/examples/cpu-hello-world/main.cpp
@@ -217,7 +217,7 @@ static SlangResult _innerMain(int argc, char** argv)
return SLANG_OK;
}
-int main(int argc, char** argv)
+int exampleMain(int argc, char** argv)
{
return SLANG_SUCCEEDED(_innerMain(argc, argv)) ? 0 : -1;
}