]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/examples/rtems-shell/app_def.h
Reformat the sources with orte/uncrustify script
[orte.git] / orte / examples / rtems-shell / app_def.h
index 1f5b249de0a0fcd287784dfcb50b5bd06728f2f8..6329d4805a7bc1cadba68b0759f645b8e064f35f 100644 (file)
 extern "C" {
 #endif
 
-void bad_rtems_status(rtems_status_code status, int fail_level, const char *text);
+void
+bad_rtems_status(rtems_status_code status, int fail_level, const char *text);
 
 static inline
-void check_rtems_status(rtems_status_code status, int fail_level, const char *text)
+void
+check_rtems_status(rtems_status_code status, int fail_level, const char *text)
 {
-   if(!rtems_is_status_successful(status))
-     bad_rtems_status(status, fail_level, text);
+  if (!rtems_is_status_successful(status))
+    bad_rtems_status(status, fail_level, text);
 }
 
 #define TASK_1_PRIORITY     30