[rtems-schedsim commit] Many files: rm white space at EOL and EOF

Joel Sherrill joel at rtems.org
Wed May 14 14:47:38 UTC 2014


Module:    rtems-schedsim
Branch:    master
Commit:    b38dbcc8d1b03d3e7f6beb8af43ee2ea38b71d75
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=b38dbcc8d1b03d3e7f6beb8af43ee2ea38b71d75

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed May 14 09:55:21 2014 -0500

Many files: rm white space at EOL and EOF

---

 schedsim/rtems/debugio.c                           |    1 -
 schedsim/rtems/sched_cpu/cpu.c                     |    2 +-
 schedsim/rtems/sched_cpu/rtems/score/cpu.h         |    4 ++--
 schedsim/shell/schedsim_priority/config.c          |    1 -
 .../shell/schedsim_priority/printheir_executing.c  |    8 ++++----
 schedsim/shell/schedsim_priority/smp_stub.c        |    2 +-
 .../shell/schedsim_priority/wrap_thread_dispatch.c |    2 +-
 schedsim/shell/schedsim_smpsimple/config.c         |    1 -
 schedsim/shell/schedsim_smpsimple/main_dispatch.c  |    2 +-
 .../shell/schedsim_smpsimple/main_dump_all_cpus.c  |    2 +-
 .../schedsim_smpsimple/main_dump_ready_tasks.c     |    4 ++--
 .../shell/schedsim_smpsimple/printheir_executing.c |    6 +++---
 schedsim/shell/schedsim_smpsimple/smp_stub.c       |    2 +-
 .../schedsim_smpsimple/wrap_thread_dispatch.c      |    5 ++---
 schedsim/shell/shared/commands.c                   |    1 -
 schedsim/shell/shared/getopt.c                     |    4 ++--
 schedsim/shell/shared/include/newlib/_ansi.h       |    2 +-
 schedsim/shell/shared/include/newlib/getopt.h      |    4 ++--
 schedsim/shell/shared/lookup_task.c                |    2 +-
 schedsim/shell/shared/main_clocktick.c             |    4 ++--
 schedsim/shell/shared/main_semcreate.c             |    4 ++--
 schedsim/shell/shared/main_semdelete.c             |    6 +++---
 schedsim/shell/shared/main_semflush.c              |    4 ++--
 schedsim/shell/shared/main_semobtain.c             |    4 ++--
 schedsim/shell/shared/main_semrelease.c            |    4 ++--
 schedsim/shell/shared/main_taskcreate.c            |    8 ++++----
 schedsim/shell/shared/main_taskdelete.c            |    6 +++---
 schedsim/shell/shared/main_taskgetaffinity.c       |    6 +++---
 schedsim/shell/shared/main_taskmode.c              |    4 ++--
 schedsim/shell/shared/main_taskpriority.c          |    6 +++---
 schedsim/shell/shared/main_taskresume.c            |    6 +++---
 schedsim/shell/shared/main_tasksetaffinity.c       |    6 +++---
 schedsim/shell/shared/main_tasksuspend.c           |    4 ++--
 schedsim/shell/shared/main_taskwakeafter.c         |    6 +++---
 schedsim/shell/shared/schedsim_disable_dispatch.c  |    1 -
 schedsim/shell/shared/shell_makeargs.c             |    3 +--
 36 files changed, 65 insertions(+), 72 deletions(-)

diff --git a/schedsim/rtems/debugio.c b/schedsim/rtems/debugio.c
index be060f3..7e886ac 100644
--- a/schedsim/rtems/debugio.c
+++ b/schedsim/rtems/debugio.c
@@ -14,4 +14,3 @@ void BSP_output_char_f(char c)
 
 BSP_output_char_function_type           BSP_output_char = BSP_output_char_f;
 BSP_polling_getchar_function_type       BSP_poll_char = NULL;
-
diff --git a/schedsim/rtems/sched_cpu/cpu.c b/schedsim/rtems/sched_cpu/cpu.c
index 8ac3452..92d55a0 100644
--- a/schedsim/rtems/sched_cpu/cpu.c
+++ b/schedsim/rtems/sched_cpu/cpu.c
@@ -140,7 +140,7 @@ void *_CPU_Thread_Idle_body( uintptr_t ignored )
 }
 
 #include <stdio.h>
-void _SMP_cpu_swap( 
+void _SMP_cpu_swap(
   uint32_t *a,
   uint32_t *value,
   uint32_t *prev
diff --git a/schedsim/rtems/sched_cpu/rtems/score/cpu.h b/schedsim/rtems/sched_cpu/rtems/score/cpu.h
index 7c1703f..aeb713b 100644
--- a/schedsim/rtems/sched_cpu/rtems/score/cpu.h
+++ b/schedsim/rtems/sched_cpu/rtems/score/cpu.h
@@ -1258,7 +1258,7 @@ void _CPU_Context_restore_fp(
 );
 
 #ifdef RTEMS_SMP
-  #define _CPU_Context_switch_to_first_task_smp(_context ) 
+  #define _CPU_Context_switch_to_first_task_smp(_context )
 
   uint32_t _CPU_SMP_Get_current_processor( void );
   uint32_t _CPU_SMP_Initialize( void );
@@ -1335,7 +1335,7 @@ static inline uint32_t CPU_swap_u32(
 /*
  *  SMP Support
  */
-void __SMP_cpu_swap( 
+void __SMP_cpu_swap(
   uint32_t *a,
   uint32_t *value,
   uint32_t *prev
diff --git a/schedsim/shell/schedsim_priority/config.c b/schedsim/shell/schedsim_priority/config.c
index d60d24c..332b326 100644
--- a/schedsim/shell/schedsim_priority/config.c
+++ b/schedsim/shell/schedsim_priority/config.c
@@ -6,4 +6,3 @@
 
 #define CONFIGURE_DISABLE_BSP_SETTINGS
 #include <confdefs.h>
-
diff --git a/schedsim/shell/schedsim_priority/printheir_executing.c b/schedsim/shell/schedsim_priority/printheir_executing.c
index 6604adb..62b64af 100644
--- a/schedsim/shell/schedsim_priority/printheir_executing.c
+++ b/schedsim/shell/schedsim_priority/printheir_executing.c
@@ -21,9 +21,9 @@ void PRINT_EXECUTING() {
 }
 
 void PRINT_HEIR() {
-  printf( 
-    "  Thread Heir: 0x%08x priority=%ld\n", 
-    _Thread_Heir->Object.id, 
-    (long) _Thread_Heir->current_priority 
+  printf(
+    "  Thread Heir: 0x%08x priority=%ld\n",
+    _Thread_Heir->Object.id,
+    (long) _Thread_Heir->current_priority
   );
 }
diff --git a/schedsim/shell/schedsim_priority/smp_stub.c b/schedsim/shell/schedsim_priority/smp_stub.c
index c328e1a..f8dbe19 100644
--- a/schedsim/shell/schedsim_priority/smp_stub.c
+++ b/schedsim/shell/schedsim_priority/smp_stub.c
@@ -30,7 +30,7 @@ void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
 
 void _CPU_SMP_Send_interrupt( uint32_t target_processor_index )
 {
-} 
+}
 
 void _CPU_SMP_Processor_event_broadcast( void )
 {
diff --git a/schedsim/shell/schedsim_priority/wrap_thread_dispatch.c b/schedsim/shell/schedsim_priority/wrap_thread_dispatch.c
index 60ce916..a308857 100644
--- a/schedsim/shell/schedsim_priority/wrap_thread_dispatch.c
+++ b/schedsim/shell/schedsim_priority/wrap_thread_dispatch.c
@@ -33,7 +33,7 @@ void check_heir_and_executing(void)
   uint32_t level;
 
   _ISR_Disable_without_giant( level );
-    if ( last_heir != _Thread_Heir ) 
+    if ( last_heir != _Thread_Heir )
       PRINT_HEIR();
 
     if ( last_executing != _Thread_Executing )
diff --git a/schedsim/shell/schedsim_smpsimple/config.c b/schedsim/shell/schedsim_smpsimple/config.c
index 7f20e3c..49516bc 100644
--- a/schedsim/shell/schedsim_smpsimple/config.c
+++ b/schedsim/shell/schedsim_smpsimple/config.c
@@ -16,4 +16,3 @@
 
 #define CONFIGURE_DISABLE_BSP_SETTINGS
 #include <rtems/confdefs.h>
-
diff --git a/schedsim/shell/schedsim_smpsimple/main_dispatch.c b/schedsim/shell/schedsim_smpsimple/main_dispatch.c
index f742a75..bbd4e1a 100644
--- a/schedsim/shell/schedsim_smpsimple/main_dispatch.c
+++ b/schedsim/shell/schedsim_smpsimple/main_dispatch.c
@@ -36,7 +36,7 @@ int main_dispatch(int argc, char **argv)
       _Thread_Dispatch();
     }
   }
-  
+
   Schedsim_Current_cpu = current_cpu;
   return 0;
 }
diff --git a/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c b/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
index 6301ec3..dfe3bc6 100644
--- a/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
+++ b/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
@@ -46,6 +46,6 @@ int main_dump_all_cpus(int argc, char **argv)
     );
   }
   printf( "=== End of Ready Set of Threads\n" );
-  
+
   return 0;
 }
diff --git a/schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c b/schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c
index f9edf80..0c5fc9a 100644
--- a/schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c
+++ b/schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c
@@ -31,7 +31,7 @@ int main_dump_ready_tasks(int argc, char **argv)
   Chain_Node     *n;
   Thread_Control *t;
 
-  Scheduler_simple_SMP_Context * self = 
+  Scheduler_simple_SMP_Context * self =
     (Scheduler_simple_SMP_Context *) _Scheduler_Table[0].context;
 
   /* We don't support this yet */
@@ -48,6 +48,6 @@ int main_dump_ready_tasks(int argc, char **argv)
     );
   }
   printf( "=== End of Ready Set of Threads\n" );
-  
+
   return 0;
 }
diff --git a/schedsim/shell/schedsim_smpsimple/printheir_executing.c b/schedsim/shell/schedsim_smpsimple/printheir_executing.c
index b3ad6a0..fe4d580 100644
--- a/schedsim/shell/schedsim_smpsimple/printheir_executing.c
+++ b/schedsim/shell/schedsim_smpsimple/printheir_executing.c
@@ -24,10 +24,10 @@ void PRINT_EXECUTING() {
 }
 
 void PRINT_HEIR() {
-  printf( 
+  printf(
     "  CPU %d: Thread Heir 0x%08x priority=%ld\n",
     Schedsim_Current_cpu,
-    _Thread_Heir->Object.id, 
-    (long) _Thread_Heir->current_priority 
+    _Thread_Heir->Object.id,
+    (long) _Thread_Heir->current_priority
   );
 }
diff --git a/schedsim/shell/schedsim_smpsimple/smp_stub.c b/schedsim/shell/schedsim_smpsimple/smp_stub.c
index c68e30b..37befbd 100644
--- a/schedsim/shell/schedsim_smpsimple/smp_stub.c
+++ b/schedsim/shell/schedsim_smpsimple/smp_stub.c
@@ -33,7 +33,7 @@ void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
 
 void _CPU_SMP_Send_interrupt( uint32_t target_processor_index )
 {
-} 
+}
 
 void _CPU_SMP_Processor_event_broadcast( void )
 {
diff --git a/schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c b/schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c
index 98506c8..4661dc6 100644
--- a/schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c
+++ b/schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c
@@ -41,7 +41,7 @@ void check_heir_and_executing(void)
   uint32_t level;
 
   _ISR_Disable_without_giant( level );
-    if ( last_heir[Schedsim_Current_cpu] != _Thread_Heir ) 
+    if ( last_heir[Schedsim_Current_cpu] != _Thread_Heir )
       PRINT_HEIR();
 
     if ( last_executing[Schedsim_Current_cpu] != _Thread_Executing )
@@ -64,7 +64,6 @@ void __wrap__Thread_Dispatch(void)
     __real__Thread_Dispatch();
     check_heir_and_executing();
   }
-  
+
   Schedsim_Current_cpu = current_cpu;
 }
-
diff --git a/schedsim/shell/shared/commands.c b/schedsim/shell/shared/commands.c
index e79cd0b..0c5ae48 100644
--- a/schedsim/shell/shared/commands.c
+++ b/schedsim/shell/shared/commands.c
@@ -76,4 +76,3 @@ rtems_shell_cmd_t *rtems_shell_Initial_commands[] = {
 rtems_shell_alias_t *rtems_shell_Initial_aliases[] = {
   NULL
 };
-
diff --git a/schedsim/shell/shared/getopt.c b/schedsim/shell/shared/getopt.c
index df7d27a..4441712 100644
--- a/schedsim/shell/shared/getopt.c
+++ b/schedsim/shell/shared/getopt.c
@@ -75,7 +75,7 @@ COPYRIGHT NOTICE AND DISCLAIMER:
 
 Copyright (C) 1997 Gregory Pietsch
 
-This file and the accompanying getopt.h header file are hereby placed in the 
+This file and the accompanying getopt.h header file are hereby placed in the
 public domain without restrictions.  Just give the author credit, don't
 claim you wrote it or prevent anyone else from using it.
 
@@ -145,7 +145,7 @@ is_option (char *argv_element, int only)
 	  || (argv_element[0] == '-') || (only && argv_element[0] == '+'));
 }
 
-/* read_globals: read the values from the globals into a getopt_data 
+/* read_globals: read the values from the globals into a getopt_data
    structure */
 static void
 read_globals (struct getopt_data *data)
diff --git a/schedsim/shell/shared/include/newlib/_ansi.h b/schedsim/shell/shared/include/newlib/_ansi.h
index c52ba60..670627a 100644
--- a/schedsim/shell/shared/include/newlib/_ansi.h
+++ b/schedsim/shell/shared/include/newlib/_ansi.h
@@ -51,7 +51,7 @@
 #ifndef _PARAMS
 #define _PARAMS(paramlist)		paramlist
 #endif
-#else	
+#else
 #define	_PTR		char *
 #define	_AND		;
 #define	_NOARGS
diff --git a/schedsim/shell/shared/include/newlib/getopt.h b/schedsim/shell/shared/include/newlib/getopt.h
index 2d397eb..16734a5 100644
--- a/schedsim/shell/shared/include/newlib/getopt.h
+++ b/schedsim/shell/shared/include/newlib/getopt.h
@@ -74,8 +74,8 @@ COPYRIGHT NOTICE AND DISCLAIMER:
 
 Copyright (C) 1997 Gregory Pietsch
 
-This file and the accompanying getopt.c implementation file are hereby 
-placed in the public domain without restrictions.  Just give the author 
+This file and the accompanying getopt.c implementation file are hereby
+placed in the public domain without restrictions.  Just give the author
 credit, don't claim you wrote it or prevent anyone else from using it.
 
 Gregory Pietsch's current e-mail address:
diff --git a/schedsim/shell/shared/lookup_task.c b/schedsim/shell/shared/lookup_task.c
index 87f6c6c..79d5717 100644
--- a/schedsim/shell/shared/lookup_task.c
+++ b/schedsim/shell/shared/lookup_task.c
@@ -41,7 +41,7 @@ int METHOD_NAME(
     }
     memset( name, '\0', sizeof(name) );
     strncpy( name, string, 4 );
-    status = RTEMS_IDENT_NAME( 
+    status = RTEMS_IDENT_NAME(
       rtems_build_name( name[0], name[1], name[2], name[3] ),
       OBJECTS_SEARCH_ALL_NODES,
       id
diff --git a/schedsim/shell/shared/main_clocktick.c b/schedsim/shell/shared/main_clocktick.c
index d2e904d..f5bda6f 100644
--- a/schedsim/shell/shared/main_clocktick.c
+++ b/schedsim/shell/shared/main_clocktick.c
@@ -30,7 +30,7 @@ int rtems_shell_main_clock_tick(
   rtems_interval       ticks;
   unsigned long        tmp;
   rtems_interval       t;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -57,7 +57,7 @@ int rtems_shell_main_clock_tick(
         "Clock Tick (%s) returned %s\n",
         argv[1],
         rtems_status_text( status )
-      ); 
+      );
       return -1;
     }
   }
diff --git a/schedsim/shell/shared/main_semcreate.c b/schedsim/shell/shared/main_semcreate.c
index 069d72a..694d752 100644
--- a/schedsim/shell/shared/main_semcreate.c
+++ b/schedsim/shell/shared/main_semcreate.c
@@ -103,12 +103,12 @@ int rtems_shell_main_semaphore_create(
       "Semaphore create(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
   printf( "Semaphore (%s) created: id=0x%08x\n", argv[1], id );
-  
+
   return 0;
 }
 
diff --git a/schedsim/shell/shared/main_semdelete.c b/schedsim/shell/shared/main_semdelete.c
index 4a706b8..00359aa 100644
--- a/schedsim/shell/shared/main_semdelete.c
+++ b/schedsim/shell/shared/main_semdelete.c
@@ -31,7 +31,7 @@ int rtems_shell_main_semaphore_delete(
 {
   rtems_id           id;
   rtems_status_code  status;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -46,7 +46,7 @@ int rtems_shell_main_semaphore_delete(
    *  Now delete the semaphore
    */
   printf("Deleting semaphore (0x%08x)\n", id );
-  
+
   /*
    * This wraps the allocator mutex and should defer any context switching
    */
@@ -60,7 +60,7 @@ int rtems_shell_main_semaphore_delete(
       "Semaphore Delete(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
diff --git a/schedsim/shell/shared/main_semflush.c b/schedsim/shell/shared/main_semflush.c
index 079e43f..af7f891 100644
--- a/schedsim/shell/shared/main_semflush.c
+++ b/schedsim/shell/shared/main_semflush.c
@@ -28,7 +28,7 @@ int rtems_shell_main_semaphore_flush(
 {
   rtems_id           id;
   rtems_status_code  status;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -50,7 +50,7 @@ int rtems_shell_main_semaphore_flush(
       "Semaphore flush(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
diff --git a/schedsim/shell/shared/main_semobtain.c b/schedsim/shell/shared/main_semobtain.c
index 4df36b3..12ae381 100644
--- a/schedsim/shell/shared/main_semobtain.c
+++ b/schedsim/shell/shared/main_semobtain.c
@@ -31,7 +31,7 @@ int rtems_shell_main_semaphore_obtain(
   long               tmp;
   rtems_interval     ticks;
   Thread_Control    *caller;
- 
+
   /* XXX for now, do not support polling */
 
   CHECK_RTEMS_IS_UP();
@@ -68,7 +68,7 @@ int rtems_shell_main_semaphore_obtain(
         "Semaphore obtain(%s) returned %s\n",
         argv[1],
         rtems_status_text( status )
-      ); 
+      );
       return -1;
     }
   }
diff --git a/schedsim/shell/shared/main_semrelease.c b/schedsim/shell/shared/main_semrelease.c
index 78eec40..c4f60a8 100644
--- a/schedsim/shell/shared/main_semrelease.c
+++ b/schedsim/shell/shared/main_semrelease.c
@@ -28,7 +28,7 @@ int rtems_shell_main_semaphore_release(
 {
   rtems_id           id;
   rtems_status_code  status;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -50,7 +50,7 @@ int rtems_shell_main_semaphore_release(
       "Semaphore release(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
diff --git a/schedsim/shell/shared/main_taskcreate.c b/schedsim/shell/shared/main_taskcreate.c
index ec4c6a6..80e6c5c 100644
--- a/schedsim/shell/shared/main_taskcreate.c
+++ b/schedsim/shell/shared/main_taskcreate.c
@@ -57,7 +57,7 @@ int rtems_shell_main_task_create(
   struct getopt_data getopt_reent;
   char               option;
   int                arg;
- 
+
   CHECK_RTEMS_IS_UP();
 
   mode = 0;
@@ -123,7 +123,7 @@ int rtems_shell_main_task_create(
       "Task Create(%s) returned %s\n",
       name,
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
@@ -133,7 +133,7 @@ int rtems_shell_main_task_create(
     id,
     priority
   );
-  
+
   printf(
     "Task (%s) starting: id=0x%08x, priority=%ld\n",
     name,
@@ -148,7 +148,7 @@ int rtems_shell_main_task_create(
       "Task Start(%s) returned %s\n",
       name,
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
diff --git a/schedsim/shell/shared/main_taskdelete.c b/schedsim/shell/shared/main_taskdelete.c
index 2188820..f6a461c 100644
--- a/schedsim/shell/shared/main_taskdelete.c
+++ b/schedsim/shell/shared/main_taskdelete.c
@@ -28,7 +28,7 @@ int rtems_shell_main_task_delete(
 {
   rtems_id           id;
   rtems_status_code  status;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -49,12 +49,12 @@ int rtems_shell_main_task_delete(
       "Task Delete(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
   printf("Task (0x%08x) deleted\n", id );
-  
+
   return 0;
 }
 
diff --git a/schedsim/shell/shared/main_taskgetaffinity.c b/schedsim/shell/shared/main_taskgetaffinity.c
index 3052600..ee6bba4 100644
--- a/schedsim/shell/shared/main_taskgetaffinity.c
+++ b/schedsim/shell/shared/main_taskgetaffinity.c
@@ -37,7 +37,7 @@ int rtems_shell_main_task_get_affinity(
   rtems_status_code    status;
   unsigned long        tmp;
   cpu_set_t            cpuset;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -61,12 +61,12 @@ int rtems_shell_main_task_get_affinity(
       "Task Get Affinity(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
   printf("Task (0x%08x) Get affinity=0x%08x\n", id, cpuset.__bits[0] );
-  
+
   return 0;
 }
 
diff --git a/schedsim/shell/shared/main_taskmode.c b/schedsim/shell/shared/main_taskmode.c
index e8465c6..8457bf8 100644
--- a/schedsim/shell/shared/main_taskmode.c
+++ b/schedsim/shell/shared/main_taskmode.c
@@ -87,7 +87,7 @@ int rtems_shell_main_task_mode(
       stderr,
       "Task Mode returned %s\n",
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
@@ -96,7 +96,7 @@ int rtems_shell_main_task_mode(
     (void) rtems_task_mode( RTEMS_CURRENT_MODE ,  RTEMS_CURRENT_MODE, &old );
     print_mode( "Current Mode:  ", mode );
   }
-  
+
   return 0;
 }
 
diff --git a/schedsim/shell/shared/main_taskpriority.c b/schedsim/shell/shared/main_taskpriority.c
index 8087329..b65f54c 100644
--- a/schedsim/shell/shared/main_taskpriority.c
+++ b/schedsim/shell/shared/main_taskpriority.c
@@ -35,7 +35,7 @@ int rtems_shell_main_task_priority(
   unsigned long        tmp;
   rtems_task_priority  old;
   rtems_task_priority  new;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 3) {
@@ -63,7 +63,7 @@ int rtems_shell_main_task_priority(
       "Task Set Priority(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
@@ -71,7 +71,7 @@ int rtems_shell_main_task_priority(
     printf("Task (0x%08x) Change Priority from %d to %d\n", id, old, new );
   else
     printf("Task (0x%08x) Current Priority is %d\n", id, new );
-  
+
   return 0;
 }
 
diff --git a/schedsim/shell/shared/main_taskresume.c b/schedsim/shell/shared/main_taskresume.c
index e450558..e34b5cc 100644
--- a/schedsim/shell/shared/main_taskresume.c
+++ b/schedsim/shell/shared/main_taskresume.c
@@ -28,7 +28,7 @@ int rtems_shell_main_task_resume(
 {
   rtems_id           id;
   rtems_status_code  status;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -43,7 +43,7 @@ int rtems_shell_main_task_resume(
    *  Now resume the task
    */
   printf("Resuming task (0x%08x)\n", id );
-  
+
   status = rtems_task_resume( id );
   if ( status != RTEMS_SUCCESSFUL ) {
     fprintf(
@@ -51,7 +51,7 @@ int rtems_shell_main_task_resume(
       "Task resume(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
diff --git a/schedsim/shell/shared/main_tasksetaffinity.c b/schedsim/shell/shared/main_tasksetaffinity.c
index 5d4eb41..e727cd2 100644
--- a/schedsim/shell/shared/main_tasksetaffinity.c
+++ b/schedsim/shell/shared/main_tasksetaffinity.c
@@ -37,7 +37,7 @@ int rtems_shell_main_task_set_affinity(
   rtems_status_code    status;
   unsigned long        tmp;
   cpu_set_t            cpuset;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 3) {
@@ -66,12 +66,12 @@ int rtems_shell_main_task_set_affinity(
       "Task Set Affinity(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
   printf("Task (0x%08x) Set affinity=0x%08x\n", id, cpuset.__bits[0] );
-  
+
   return 0;
 }
 
diff --git a/schedsim/shell/shared/main_tasksuspend.c b/schedsim/shell/shared/main_tasksuspend.c
index 9be5d90..6a8a8a4 100644
--- a/schedsim/shell/shared/main_tasksuspend.c
+++ b/schedsim/shell/shared/main_tasksuspend.c
@@ -28,7 +28,7 @@ int rtems_shell_main_task_suspend(
 {
   rtems_id           id;
   rtems_status_code  status;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -50,7 +50,7 @@ int rtems_shell_main_task_suspend(
       "Task suspend(%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
diff --git a/schedsim/shell/shared/main_taskwakeafter.c b/schedsim/shell/shared/main_taskwakeafter.c
index ebec01a..7173d12 100644
--- a/schedsim/shell/shared/main_taskwakeafter.c
+++ b/schedsim/shell/shared/main_taskwakeafter.c
@@ -30,7 +30,7 @@ int rtems_shell_main_task_wake_after(
   rtems_interval       ticks;
   unsigned long        tmp;
   rtems_id             self;
- 
+
   CHECK_RTEMS_IS_UP();
 
   if (argc != 2) {
@@ -50,7 +50,7 @@ int rtems_shell_main_task_wake_after(
    *  Now sleep
    */
   printf( "Task (0x%08x) sleeping for %d ticks\n", self, ticks );
-  
+
   status = rtems_task_wake_after( ticks );
   if ( status != RTEMS_SUCCESSFUL ) {
     fprintf(
@@ -58,7 +58,7 @@ int rtems_shell_main_task_wake_after(
       "Task Wake After (%s) returned %s\n",
       argv[1],
       rtems_status_text( status )
-    ); 
+    );
     return -1;
   }
 
diff --git a/schedsim/shell/shared/schedsim_disable_dispatch.c b/schedsim/shell/shared/schedsim_disable_dispatch.c
index 81d2591..80d6afb 100644
--- a/schedsim/shell/shared/schedsim_disable_dispatch.c
+++ b/schedsim/shell/shared/schedsim_disable_dispatch.c
@@ -32,4 +32,3 @@ bool schedsim_is_dispatch_allowed(void)
 {
   return allow_dispatch;
 }
-
diff --git a/schedsim/shell/shared/shell_makeargs.c b/schedsim/shell/shared/shell_makeargs.c
index 161892d..bdb6f3d 100644
--- a/schedsim/shell/shared/shell_makeargs.c
+++ b/schedsim/shell/shared/shell_makeargs.c
@@ -26,7 +26,7 @@ int rtems_shell_make_args(
   int   argc;
   char *ch;
   int   status = 0;
- 
+
   argc = 0;
   ch = commandLine;
 
@@ -63,4 +63,3 @@ int rtems_shell_make_args(
   *argc_p = argc;
   return status;
 }
-




More information about the vc mailing list