change log for rtems (2010-06-29)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Jun 29 13:12:19 UTC 2010


 *sh*:
2010-06-29	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* libnetworking/lib/tftpDriver.c: rtems_tftp_ops and
	rtems_tftp_handlers are now const and static.
	* libnetworking/rtems/tftp.h: Removed
	rtems_bsdnet_initialize_tftp_filesystem and rtems_tftp_ops.

M 1.2472  cpukit/ChangeLog
M   1.39  cpukit/libnetworking/lib/tftpDriver.c
M    1.8  cpukit/libnetworking/rtems/tftp.h

diff -u rtems/cpukit/ChangeLog:1.2471 rtems/cpukit/ChangeLog:1.2472
--- rtems/cpukit/ChangeLog:1.2471	Mon Jun 28 20:53:17 2010
+++ rtems/cpukit/ChangeLog	Tue Jun 29 08:03:31 2010
@@ -1,3 +1,10 @@
+2010-06-29	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* libnetworking/lib/tftpDriver.c: rtems_tftp_ops and
+	rtems_tftp_handlers are now const and static.
+	* libnetworking/rtems/tftp.h: Removed
+	rtems_bsdnet_initialize_tftp_filesystem and rtems_tftp_ops.
+
 2010-06-28	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* libfs/src/defaults/default_chown.c,

diff -u rtems/cpukit/libnetworking/lib/tftpDriver.c:1.38 rtems/cpukit/libnetworking/lib/tftpDriver.c:1.39
--- rtems/cpukit/libnetworking/lib/tftpDriver.c:1.38	Mon May 31 08:56:37 2010
+++ rtems/cpukit/libnetworking/lib/tftpDriver.c	Tue Jun 29 08:03:31 2010
@@ -171,8 +171,8 @@
  */
 
 typedef const char *tftp_node;
-extern rtems_filesystem_operations_table  rtems_tftp_ops;
-extern rtems_filesystem_file_handlers_r   rtems_tftp_handlers;
+static const rtems_filesystem_operations_table  rtems_tftp_ops;
+static const rtems_filesystem_file_handlers_r   rtems_tftp_handlers;
 
 int rtems_tftpfs_initialize(
   rtems_filesystem_mount_table_entry_t *mt_entry,
@@ -1082,7 +1082,7 @@
 }
 
 
-rtems_filesystem_operations_table  rtems_tftp_ops = {
+static const rtems_filesystem_operations_table  rtems_tftp_ops = {
     rtems_tftp_eval_path,            /* eval_path */
     rtems_tftp_evaluate_for_make,    /* evaluate_for_make */
     NULL,                            /* link */
@@ -1101,7 +1101,7 @@
     NULL,                            /* readlin */
 };
 
-rtems_filesystem_file_handlers_r rtems_tftp_handlers = {
+static const rtems_filesystem_file_handlers_r rtems_tftp_handlers = {
     rtems_tftp_open,      /* open */
     rtems_tftp_close,     /* close */
     rtems_tftp_read,      /* read */

diff -u rtems/cpukit/libnetworking/rtems/tftp.h:1.7 rtems/cpukit/libnetworking/rtems/tftp.h:1.8
--- rtems/cpukit/libnetworking/rtems/tftp.h:1.7	Mon May 31 08:56:37 2010
+++ rtems/cpukit/libnetworking/rtems/tftp.h	Tue Jun 29 08:03:31 2010
@@ -38,18 +38,6 @@
  */
 int rtems_tftpfs_initialize(rtems_filesystem_mount_table_entry_t *temp_mt_entry);
 
-/*
- * Filesystem initialization routine
- */
-
-int rtems_bsdnet_initialize_tftp_filesystem( void );
-
-/*
- * TFTP file system operations table.
- */
-
-extern rtems_filesystem_operations_table  rtems_tftp_ops;
-
 #ifdef __cplusplus
 }
 #endif



--

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/20100629/94bd1dd0/attachment.html>


More information about the vc mailing list