mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 05:55:12 +08:00
2010-06-29 Sebastian Huber <sebastian.huber@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.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2010-06-29 Sebastian Huber <sebastian.huber@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@oarcorp.com>
|
||||
|
||||
* libfs/src/defaults/default_chown.c,
|
||||
|
||||
@@ -171,8 +171,8 @@ typedef struct tftpfs_info_s {
|
||||
*/
|
||||
|
||||
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 @@ static int rtems_tftp_free_node_info(
|
||||
}
|
||||
|
||||
|
||||
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 @@ rtems_filesystem_operations_table rtems_tftp_ops = {
|
||||
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 */
|
||||
|
||||
@@ -38,18 +38,6 @@ extern "C" {
|
||||
*/
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user