change log for rtems (2011-12-13)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Dec 13 09:51:44 UTC 2011


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

	* fileio/init.c: Comment out setup_nvdisk (Unused).
	Make shell_nvdisk_trace, shell_nvdisk_erase, shell_bdbuf_trace,
	disk_test_set_block_size, disk_test_write_blocks, disk_test_block_sizes,
	parse_size_arg, create_ramdisk, create_nvdisk static.
	* nsecs/init.c: Make my_ctime, subtract_em static.

M  1.201  testsuites/samples/ChangeLog
M   1.37  testsuites/samples/fileio/init.c
M   1.17  testsuites/samples/nsecs/init.c

diff -u rtems/testsuites/samples/ChangeLog:1.200 rtems/testsuites/samples/ChangeLog:1.201
--- rtems/testsuites/samples/ChangeLog:1.200	Thu Dec  8 15:38:29 2011
+++ rtems/testsuites/samples/ChangeLog	Tue Dec 13 03:35:59 2011
@@ -1,3 +1,11 @@
+2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* fileio/init.c: Comment out setup_nvdisk (Unused).
+	Make shell_nvdisk_trace, shell_nvdisk_erase, shell_bdbuf_trace,
+	disk_test_set_block_size, disk_test_write_blocks, disk_test_block_sizes,
+	parse_size_arg, create_ramdisk, create_nvdisk static.
+	* nsecs/init.c: Make my_ctime, subtract_em static.
+
 2011-12-08	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	PR 1589/build

diff -u rtems/testsuites/samples/fileio/init.c:1.36 rtems/testsuites/samples/fileio/init.c:1.37
--- rtems/testsuites/samples/fileio/init.c:1.36	Tue Oct 18 08:36:37 2011
+++ rtems/testsuites/samples/fileio/init.c	Tue Dec 13 03:36:00 2011
@@ -128,6 +128,7 @@
   control_entry:        rtems_blkdev_generic_ioctl
 };
 
+#if 0
 int
 setup_nvdisk (const char* mntpath)
 {
@@ -165,6 +166,7 @@
 
   return 0;
 }
+#endif
 
 /*
  * Table of FAT file systems that will be mounted
@@ -228,7 +230,7 @@
 
 #ifdef USE_SHELL
 
-int
+static int
 shell_nvdisk_trace (int argc, char* argv[])
 {
   const char* driver;
@@ -261,7 +263,7 @@
   return 0;
 }
 
-int
+static int
 shell_nvdisk_erase (int argc, char* argv[])
 {
   const char* driver = NULL;
@@ -309,7 +311,7 @@
   return 0;
 }
 
-int
+static int
 shell_bdbuf_trace (int argc, char* argv[])
 {
 #if RTEMS_BDBUF_TRACE
@@ -322,7 +324,7 @@
   return 0;
 }
 
-int
+static int
 disk_test_set_block_size (dev_t dev, size_t size)
 {
   rtems_disk_device* dd;
@@ -342,7 +344,7 @@
   return rc;
 }
 
-int
+static int
 disk_test_write_blocks (dev_t dev, int start, int count, size_t size)
 {
   int                 block;
@@ -384,7 +386,7 @@
   return 0;
 }
 
-int
+static int
 disk_test_block_sizes (int argc, char *argv[])
 {
   struct stat st;
@@ -414,7 +416,7 @@
   return disk_test_write_blocks (st.st_rdev, start, count, size);
 }
 
-size_t
+static size_t
 parse_size_arg (const char* arg)
 {
   size_t size;
@@ -442,7 +444,7 @@
   return size * scalar;
  }
 
-int
+static int
 create_ramdisk (int argc, char *argv[])
 {
   rtems_device_major_number major;
@@ -515,7 +517,7 @@
   return 0;
 }
 
-int
+static int
 create_nvdisk (int argc, char *argv[])
 {
   rtems_device_major_number major;

diff -u rtems/testsuites/samples/nsecs/init.c:1.16 rtems/testsuites/samples/nsecs/init.c:1.17
--- rtems/testsuites/samples/nsecs/init.c:1.16	Thu Sep 29 21:55:30 2011
+++ rtems/testsuites/samples/nsecs/init.c	Tue Dec 13 03:36:01 2011
@@ -30,7 +30,7 @@
 #include "tmacros.h"
 #include "pritime.h"
 
-char *my_ctime( time_t t )
+static char *my_ctime( time_t t )
 {
   static char b[32];
   ctime_r(&t, b);
@@ -38,7 +38,7 @@
   return b;
 }
 
-void subtract_em(
+static void subtract_em(
   struct timespec *start,
   struct timespec *stop,
   struct timespec *t


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

	* psx07/init.c: Remove unused var "clock_allowed".

M  1.380  testsuites/psxtests/ChangeLog
M   1.40  testsuites/psxtests/psx07/init.c

diff -u rtems/testsuites/psxtests/ChangeLog:1.379 rtems/testsuites/psxtests/ChangeLog:1.380
--- rtems/testsuites/psxtests/ChangeLog:1.379	Tue Dec 13 00:52:09 2011
+++ rtems/testsuites/psxtests/ChangeLog	Tue Dec 13 03:40:07 2011
@@ -1,5 +1,9 @@
 2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* psx07/init.c: Remove unused var "clock_allowed".
+
+2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* configure.ac: Check for getrusage decl.
 	* psxgetrusage01/init.c:
 	Fix header file inclusion order.

diff -u rtems/testsuites/psxtests/psx07/init.c:1.39 rtems/testsuites/psxtests/psx07/init.c:1.40
--- rtems/testsuites/psxtests/psx07/init.c:1.39	Thu Dec  8 02:49:19 2011
+++ rtems/testsuites/psxtests/psx07/init.c	Tue Dec 13 03:40:08 2011
@@ -64,7 +64,6 @@
   struct sched_param  schedparam;
   pthread_attr_t      attr;
   pthread_attr_t      destroyed_attr;
-  int                 clock_allowed;
 
   puts( "\n\n*** POSIX TEST 7 ***" );
 



--

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/20111213/7e172fe3/attachment-0001.html>


More information about the vc mailing list