change log for rtems (2011-12-13)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Dec 13 12:12:28 UTC 2011


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

	* libchip/i2c/spi-memdrv.c: Make
	spi_memdrv_minor2param_ptr, spi_memdrv_wait_ms static.
	* libchip/i2c/spi-sd-card.c: Make
	sd_card_compute_crc7, sd_card_compute_crc16 static.

M  1.585  c/src/ChangeLog
M    1.7  c/src/libchip/i2c/spi-memdrv.c
M   1.24  c/src/libchip/i2c/spi-sd-card.c

diff -u rtems/c/src/ChangeLog:1.584 rtems/c/src/ChangeLog:1.585
--- rtems/c/src/ChangeLog:1.584	Fri Dec  9 23:53:03 2011
+++ rtems/c/src/ChangeLog	Tue Dec 13 06:00:12 2011
@@ -1,3 +1,10 @@
+2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libchip/i2c/spi-memdrv.c: Make
+	spi_memdrv_minor2param_ptr, spi_memdrv_wait_ms static.
+	* libchip/i2c/spi-sd-card.c: Make
+	sd_card_compute_crc7, sd_card_compute_crc16 static.
+
 2011-12-10	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* configure.ac (CFLAGS): Add -Wmissing-prototypes.

diff -u rtems/c/src/libchip/i2c/spi-memdrv.c:1.6 rtems/c/src/libchip/i2c/spi-memdrv.c:1.7
--- rtems/c/src/libchip/i2c/spi-memdrv.c:1.6	Sun Nov  6 06:40:21 2011
+++ rtems/c/src/libchip/i2c/spi-memdrv.c	Tue Dec 13 06:00:13 2011
@@ -42,7 +42,7 @@
 /*=========================================================================*\
 | Function:                                                                 |
 \*-------------------------------------------------------------------------*/
-rtems_status_code spi_memdrv_minor2param_ptr
+static rtems_status_code spi_memdrv_minor2param_ptr
 (
 /*-------------------------------------------------------------------------*\
 | Purpose:                                                                  |
@@ -79,7 +79,7 @@
 /*=========================================================================*\
 | Function:                                                                 |
 \*-------------------------------------------------------------------------*/
-rtems_status_code spi_memdrv_wait_ms
+static rtems_status_code spi_memdrv_wait_ms
 (
 /*-------------------------------------------------------------------------*\
 | Purpose:                                                                  |

diff -u rtems/c/src/libchip/i2c/spi-sd-card.c:1.23 rtems/c/src/libchip/i2c/spi-sd-card.c:1.24
--- rtems/c/src/libchip/i2c/spi-sd-card.c:1.23	Thu Jun 24 02:54:15 2010
+++ rtems/c/src/libchip/i2c/spi-sd-card.c	Tue Dec 13 06:00:13 2011
@@ -323,7 +323,7 @@
  * @{
  */
 
-uint8_t sd_card_compute_crc7 (uint8_t *data, size_t len)
+static uint8_t sd_card_compute_crc7 (uint8_t *data, size_t len)
 {
 	uint8_t e, f, crc;
 	size_t i;
@@ -337,7 +337,7 @@
 	return crc >> 1;
 }
 
-uint16_t sd_card_compute_crc16 (uint8_t *data, size_t len)
+static uint16_t sd_card_compute_crc16 (uint8_t *data, size_t len)
 {
 	uint8_t s, t;
 	uint16_t crc;



--

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


More information about the vc mailing list