rename RunTest() and PrintSize() so they are not duplicate with t_cose
diff --git a/cmd_line_main.c b/cmd_line_main.c
index 9c93703..f7c6010 100644
--- a/cmd_line_main.c
+++ b/cmd_line_main.c
@@ -33,8 +33,8 @@
// This call prints out sizes of data structures to remind us
// to keep them small.
- PrintSizes(&fputs_wrapper, stdout);
+ PrintSizesQCBOR(&fputs_wrapper, stdout);
// This runs all the tests
- return RunTests(argv+1, &fputs_wrapper, stdout, NULL);
+ return RunTestsQCBOR(argv+1, &fputs_wrapper, stdout, NULL);
}
diff --git a/test/run_tests.c b/test/run_tests.c
index 192e319..5b72398 100644
--- a/test/run_tests.c
+++ b/test/run_tests.c
@@ -157,7 +157,7 @@
/*
Public function. See run_test.h.
*/
-int RunTests(const char *szTestNames[],
+int RunTestsQCBOR(const char *szTestNames[],
OutputStringCB pfOutput,
void *poutCtx,
int *pNumTestsRun)
@@ -296,7 +296,7 @@
/*
Public function. See run_test.h.
*/
-void PrintSizes(OutputStringCB pfOutput, void *pOutCtx)
+void PrintSizesQCBOR(OutputStringCB pfOutput, void *pOutCtx)
{
// These will never be large so cast is safe
PrintSize("sizeof(QCBORTrackNesting)", (uint32_t)sizeof(QCBORTrackNesting), pfOutput, pOutCtx);
diff --git a/test/run_tests.h b/test/run_tests.h
index 97f2946..ce44673 100644
--- a/test/run_tests.h
+++ b/test/run_tests.h
@@ -53,10 +53,10 @@
@return The number of tests that failed. Zero means overall success.
*/
-int RunTests(const char *szTestNames[],
- OutputStringCB pfOutput,
- void *pOutCtx,
- int *pNumTestsRun);
+int RunTestsQCBOR(const char *szTestNames[],
+ OutputStringCB pfOutput,
+ void *pOutCtx,
+ int *pNumTestsRun);
/**
@@ -65,5 +65,5 @@
@param[in] pfOutput Function that is called to output text strings.
@param[in] pOutCtx Context pointer passed to output function.
*/
-void PrintSizes(OutputStringCB pfOutput, void *pOutCtx);
+void PrintSizesQCBOR(OutputStringCB pfOutput, void *pOutCtx);