]> rtime.felk.cvut.cz Git - arc.git/blobdiff - examples/wdg_node/wdgm_node.c
Fixed compiler warnings regarding unwanted ';'
[arc.git] / examples / wdg_node / wdgm_node.c
index e387cf9cbf4b8d92fe8f8b0dca295f7c208e6e41..34d2d094f82ffa263935cc1e99ff552e60601ba9 100644 (file)
@@ -140,7 +140,7 @@ void etask_2( void ) {
  */\r
 \r
 void OsIdle( void ) {\r
-       for(;;);\r
+       for(;;) ;\r
 }\r
 \r
 \r
@@ -160,7 +160,7 @@ void StartupHook( void ) {
 \r
 void ShutdownHook( StatusType Error ) {\r
        LDEBUG_PRINTF("## ShutdownHook\n");\r
-       while(1);\r
+       while(1) ;\r
 }\r
 \r
 struct LogBad_s {\r
@@ -222,7 +222,7 @@ void ErrorHook( StatusType Error ) {
        ErrorCount++;\r
 \r
        // Stall if buffer is full.\r
-       while(ErrorCount >= ERROR_LOG_SIZE);\r
+       while(ErrorCount >= ERROR_LOG_SIZE) ;\r
 }\r
 \r
 void PreTaskHook( void ) {\r