[API-NEXT,v3,07/11] test: validation: rename time test header file

Message ID 20170428120958.17526-8-petri.savolainen@linaro.org
State Accepted
Commit 17f4cddfcbf47f73761cb869ace264cc8444dc08
Headers show
Series
  • Use HW time counter
Related show

Commit Message

Petri Savolainen April 28, 2017, 12:09 p.m.
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

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 df65c719..36c419cb 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