diff mbox series

[API-NEXT,v2,6/8] test: validation: rename time test header file

Message ID 20170424104917.24102-7-petri.savolainen@linaro.org
State Superseded
Headers show
Series Use HW time counter | expand

Commit Message

Petri Savolainen April 24, 2017, 10:49 a.m. UTC
Header file name time.h is ambiguos since C has a library header
file with the same name.

Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>

---
 test/common_plat/validation/api/time/Makefile.am             | 2 +-
 test/common_plat/validation/api/time/time.c                  | 2 +-
 test/common_plat/validation/api/time/time_main.c             | 2 +-
 test/common_plat/validation/api/time/{time.h => time_test.h} | 0
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename test/common_plat/validation/api/time/{time.h => time_test.h} (100%)

-- 
2.11.0
diff mbox series

Patch

diff --git a/test/common_plat/validation/api/time/Makefile.am b/test/common_plat/validation/api/time/Makefile.am
index bf2d0268..999fcf15 100644
--- a/test/common_plat/validation/api/time/Makefile.am
+++ b/test/common_plat/validation/api/time/Makefile.am
@@ -7,4 +7,4 @@  test_PROGRAMS = time_main$(EXEEXT)
 dist_time_main_SOURCES = time_main.c
 time_main_LDADD = libtesttime.la $(LIBCUNIT_COMMON) $(LIBODP)
 
-EXTRA_DIST = time.h
+EXTRA_DIST = time_test.h
diff --git a/test/common_plat/validation/api/time/time.c b/test/common_plat/validation/api/time/time.c
index 530d5c07..aee7ccef 100644
--- a/test/common_plat/validation/api/time/time.c
+++ b/test/common_plat/validation/api/time/time.c
@@ -6,7 +6,7 @@ 
 
 #include <odp_api.h>
 #include "odp_cunit_common.h"
-#include "time.h"
+#include "time_test.h"
 
 #define BUSY_LOOP_CNT		30000000    /* used for t > min resolution */
 #define BUSY_LOOP_CNT_LONG	6000000000  /* used for t > 4 sec */
diff --git a/test/common_plat/validation/api/time/time_main.c b/test/common_plat/validation/api/time/time_main.c
index f86d638a..bf1cfe7b 100644
--- a/test/common_plat/validation/api/time/time_main.c
+++ b/test/common_plat/validation/api/time/time_main.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include "time.h"
+#include "time_test.h"
 
 int main(int argc, char *argv[])
 {
diff --git a/test/common_plat/validation/api/time/time.h b/test/common_plat/validation/api/time/time_test.h
similarity index 100%
rename from test/common_plat/validation/api/time/time.h
rename to test/common_plat/validation/api/time/time_test.h