change log for rtems (2011-10-17)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Oct 17 14:11:02 UTC 2011


 *ralf*:
2011-10-17	Ralf Corsépius <ralf.corsepius at rtems.org>

	* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
	Remove unused var "status".

M 1.2948  cpukit/ChangeLog
M   1.18  cpukit/posix/src/alarm.c

diff -u rtems/cpukit/ChangeLog:1.2947 rtems/cpukit/ChangeLog:1.2948
--- rtems/cpukit/ChangeLog:1.2947	Mon Oct 17 07:57:11 2011
+++ rtems/cpukit/ChangeLog	Mon Oct 17 08:32:53 2011
@@ -1,5 +1,7 @@
 2011-10-17	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
+	Remove unused var "status".
 	* libmisc/shell/main_ls.c: Comment out unused var kflag.
 	* posix/src/ualarm.c: Make _POSIX_signals_Ualarm_TSR static.
 

diff -u rtems/cpukit/posix/src/alarm.c:1.17 rtems/cpukit/posix/src/alarm.c:1.18
--- rtems/cpukit/posix/src/alarm.c:1.17	Sun Jul 24 18:55:06 2011
+++ rtems/cpukit/posix/src/alarm.c	Mon Oct 17 08:32:54 2011
@@ -26,14 +26,12 @@
  *  _POSIX_signals_Alarm_TSR
  */
 
-void _POSIX_signals_Alarm_TSR(
+static void _POSIX_signals_Alarm_TSR(
   Objects_Id      id __attribute__((unused)),
   void           *argument __attribute__((unused))
 )
 {
-  int status;
-
-  status = kill( getpid(), SIGALRM );
+  kill( getpid(), SIGALRM );
   /* XXX can't print from an ISR, should this be fatal? */
 }
 


 *ralf*:
2011-10-17	Ralf Corsépius <ralf.corsepius at rtems.org>

	*  libmisc/monitor/mon-editor.c (rtems_monitor_task):
	Comment out unused vars "debugee", "rp", "fp".

M 1.2949  cpukit/ChangeLog
M    1.6  cpukit/libmisc/monitor/mon-editor.c

diff -u rtems/cpukit/ChangeLog:1.2948 rtems/cpukit/ChangeLog:1.2949
--- rtems/cpukit/ChangeLog:1.2948	Mon Oct 17 08:32:53 2011
+++ rtems/cpukit/ChangeLog	Mon Oct 17 08:50:05 2011
@@ -1,5 +1,7 @@
 2011-10-17	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	*  libmisc/monitor/mon-editor.c (rtems_monitor_task):
+	Comment out unused vars "debugee", "rp", "fp".
 	* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
 	Remove unused var "status".
 	* libmisc/shell/main_ls.c: Comment out unused var kflag.

diff -u rtems/cpukit/libmisc/monitor/mon-editor.c:1.5 rtems/cpukit/libmisc/monitor/mon-editor.c:1.6
--- rtems/cpukit/libmisc/monitor/mon-editor.c:1.5	Mon Jun 21 11:25:09 2010
+++ rtems/cpukit/libmisc/monitor/mon-editor.c	Mon Oct 17 08:50:05 2011
@@ -518,11 +518,13 @@
     rtems_task_argument monitor_flags
 )
 {
+#if UNUSED
     rtems_tcb *debugee = 0;
     rtems_context *rp;
 #if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
     rtems_context_fp *fp;
 #endif
+#endif
     char command_buffer[513];
     int argc;
     char *argv[64];
@@ -571,12 +573,13 @@
     {
         const rtems_monitor_command_entry_t *command;
 
+#if UNUSED
         debugee = _Thread_Executing;
         rp = &debugee->Registers;
 #if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
         fp = debugee->fp_context;  /* possibly 0 */
 #endif
-
+#endif
         if (0 == rtems_monitor_command_read(command_buffer, &argc, argv))
             continue;
         if (argc < 1


 *ralf*:
2011-10-17	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libfs/src/rfs/rtems-rfs-file-system.c (rtems_rfs_fs_open):
	Comment out unused vars "group", "group_base".

M 1.2950  cpukit/ChangeLog
M    1.7  cpukit/libfs/src/rfs/rtems-rfs-file-system.c

diff -u rtems/cpukit/ChangeLog:1.2949 rtems/cpukit/ChangeLog:1.2950
--- rtems/cpukit/ChangeLog:1.2949	Mon Oct 17 08:50:05 2011
+++ rtems/cpukit/ChangeLog	Mon Oct 17 08:59:25 2011
@@ -1,6 +1,8 @@
 2011-10-17	Ralf Corsépius <ralf.corsepius at rtems.org>
 
-	*  libmisc/monitor/mon-editor.c (rtems_monitor_task):
+	* libfs/src/rfs/rtems-rfs-file-system.c (rtems_rfs_fs_open):
+	Comment out unused vars "group", "group_base".
+	* libmisc/monitor/mon-editor.c (rtems_monitor_task):
 	Comment out unused vars "debugee", "rp", "fp".
 	* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
 	Remove unused var "status".

diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-file-system.c:1.6 rtems/cpukit/libfs/src/rfs/rtems-rfs-file-system.c:1.7
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-file-system.c:1.6	Thu Jun 17 17:00:47 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-file-system.c	Mon Oct 17 08:59:26 2011
@@ -198,8 +198,10 @@
                    uint32_t                flags,
                    rtems_rfs_file_system** fs)
 {
+#if UNUSED
   rtems_rfs_group*       group;
   size_t                 group_base;
+#endif
   rtems_rfs_inode_handle inode;
   uint16_t               mode;
   int                    rc;
@@ -230,8 +232,10 @@
   (*fs)->release_modified_count = 0;
   (*fs)->flags = flags;
 
+#if UNUSED
   group = &(*fs)->groups[0];
   group_base = 0;
+#endif
 
   /*
    * Open the buffer interface.



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111017/ca7f9ae0/attachment-0001.html>


More information about the vc mailing list