summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b5c4036)
raw | patch | inline | side by side (parent: b5c4036)
author | Ryan Eatmon <reatmon@ti.com> | |
Mon, 2 May 2022 18:31:55 +0000 (13:31 -0500) | ||
committer | Ryan Eatmon <reatmon@ti.com> | |
Mon, 2 May 2022 18:31:55 +0000 (13:31 -0500) |
int8_t is a define in C99 which is flagged by C compiler ( clang )
Fixes errors like below
pruss_uio_test.c:264:6: error: second parameter of 'main' (argument array) must be of type 'char **'
void main (int32_t argc, int8_t **argv)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Fixes errors like below
pruss_uio_test.c:264:6: error: second parameter of 'main' (argument array) must be of type 'char **'
void main (int32_t argc, int8_t **argv)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
diff --git a/test/gen_ipc_int.c b/test/gen_ipc_int.c
index 2be3a9de4aa436f9542e61e911b80a03cb93552e..313c76aae85e530f189ee1ad2e0fa61fd75cdaad 100644 (file)
--- a/test/gen_ipc_int.c
+++ b/test/gen_ipc_int.c
+ end->tv_nsec - start->tv_nsec;
}
-void main(int32_t argc, int8_t **argv)
+void main(int32_t argc, char **argv)
{
int size;
char *map ;
index 5af4a2c5cd88d0e186d59cf451e2fe30450b8773..7391fbd2a7be5cc7434d2b8a33a3e3adafd5098a 100644 (file)
}
-void main (int32_t argc, int8_t **argv)
+void main (int32_t argc, char **argv)
{
int ret_val;
index 0d9f126014dd41943c8bdf4bffbecca78b96da75..15db958c9e8508cbf7cb396be54fa458769407f4 100755 (executable)
}
}
-void main(int32_t argc, int8_t **argv)
+void main(int32_t argc, char **argv)
{
thread_arg_t thread_arg[MAX_NUM_THREADS];
int ret, err;
diff --git a/test/uio_int_test.c b/test/uio_int_test.c
index 7095a0aee443264389a07b8d96a316348bd9faf7..e0ba5a9fb023c35cf3e8c7f2fc1146c9cb78c455 100644 (file)
--- a/test/uio_int_test.c
+++ b/test/uio_int_test.c
+ end->tv_nsec - start->tv_nsec;
}
-void main(int32_t argc, int8_t **argv)
+void main(int32_t argc, char **argv)
{
int fd_uio;
int ret;
diff --git a/test/uio_mem_test.c b/test/uio_mem_test.c
index aad13acceb40dee7b6835cfe7e15cdb65d2be7e8..3cdba37d109bab0f78ca50033cc5031a8b38a77e 100644 (file)
--- a/test/uio_mem_test.c
+++ b/test/uio_mem_test.c
return ret;
}
-void main(int32_t argc, int8_t **argv)
+void main(int32_t argc, char **argv)
{
int fd_map;
int ret;