Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-01-18 10:09:03 +0000
committerThomas Schuetz2012-01-18 10:09:03 +0000
commit4ff0a97045e63ba53a013a5f680328d359854731 (patch)
tree5aec185ec467ffe2f087d1131a6b888500238799 /runtime
parent3a48b46b2613b03230e97c909846244ba8034fb1 (diff)
downloadorg.eclipse.etrice-4ff0a97045e63ba53a013a5f680328d359854731.tar.gz
org.eclipse.etrice-4ff0a97045e63ba53a013a5f680328d359854731.tar.xz
org.eclipse.etrice-4ff0a97045e63ba53a013a5f680328d359854731.zip
[runtime.c] cleaned up
Diffstat (limited to 'runtime')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.abin91062 -> 90996 bytes
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/etLogger.c10
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/etUnit.c2
3 files changed, 4 insertions, 8 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a b/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
index 2def3aaec..f2593d66d 100644
--- a/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
+++ b/runtime/org.eclipse.etrice.runtime.c/Debug/liborg.eclipse.etrice.runtime.c.a
Binary files differ
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c b/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
index bbba4a628..9d58dd2ca 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/etLogger.c
@@ -24,18 +24,15 @@
void etLogger_logError(const char* message){
- printf("ERROR: %s", message);
- printf("\n");
+ printf("ERROR: %s\n", message);
}
void etLogger_logWarning(const char* message){
- printf("WARNING: %s", message);
- printf("\n");
+ printf("WARNING: %s\n", message);
}
void etLogger_logInfo(const char* message){
- printf("INFO: %s", message);
- printf("\n");
+ printf("INFO: %s\n", message);
}
void etLogger_logErrorF(const char* format, ... ){
@@ -78,5 +75,4 @@ void etLogger_fprintf(etFileHandle file, const char* format, ... ){
va_start( arglist, format );
vfprintf(file, format, arglist );
va_end( arglist );
-
}
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/etUnit.c b/runtime/org.eclipse.etrice.runtime.c/src/etUnit.c
index 30460e278..c798cb92f 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/etUnit.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/etUnit.c
@@ -74,7 +74,7 @@ void etUnit_open(char* testResultPath, char* testFileName) {
etLogger_logErrorF("Unable to open file %s/%s.xml", etUnit_TestResultPath, etUnit_TestFileName);
}
}
- // prepare time measurement
+ /* prepare time measurement */
etUnit_startTime = clock();
etUnit_currentTime = clock();
etLogger_logInfoF("Start Time: %ld", etUnit_startTime);

Back to the top