main.c: avoid unused parameter warning or error
Signed-off-by: Victor Chong <victor.chong@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
diff --git a/aes/host/main.c b/aes/host/main.c
index 7c9d79e..eda486f 100644
--- a/aes/host/main.c
+++ b/aes/host/main.c
@@ -157,7 +157,7 @@
res, origin);
}
-int main(int argc, char *argv[])
+int main(void)
{
struct test_ctx ctx;
char key[AES_TEST_KEY_SIZE];
diff --git a/hello_world/host/main.c b/hello_world/host/main.c
index 43f57ab..378082b 100644
--- a/hello_world/host/main.c
+++ b/hello_world/host/main.c
@@ -35,7 +35,7 @@
/* To the the UUID (found the the TA's h-file(s)) */
#include <hello_world_ta.h>
-int main(int argc, char *argv[])
+int main(void)
{
TEEC_Result res;
TEEC_Context ctx;
diff --git a/hotp/host/main.c b/hotp/host/main.c
index c816b40..2758312 100644
--- a/hotp/host/main.c
+++ b/hotp/host/main.c
@@ -36,7 +36,7 @@
{ 9, 520489 }
};
-int main(int argc, char *argv[])
+int main(void)
{
TEEC_Context ctx;
TEEC_Operation op = { 0 };
diff --git a/random/host/main.c b/random/host/main.c
index 65318c6..582d2b3 100644
--- a/random/host/main.c
+++ b/random/host/main.c
@@ -35,7 +35,7 @@
/* To the the UUID (found the the TA's h-file(s)) */
#include <random_ta.h>
-int main(int argc, char *argv[])
+int main(void)
{
TEEC_Result res;
TEEC_Context ctx;