summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/lib/tftpDriver.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-06-29 13:03:31 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-06-29 13:03:31 +0000
commit55c3939bbb7a1c32b473c06da75d9e2a8687be29 (patch)
tree029a27d26bfdd709908a1b9d629c4b67a9764e1b /cpukit/libnetworking/lib/tftpDriver.c
parent2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-55c3939bbb7a1c32b473c06da75d9e2a8687be29.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/lib/tftpDriver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libnetworking/lib/tftpDriver.c b/cpukit/libnetworking/lib/tftpDriver.c
index 63c2247844..2b25f264e3 100644
--- a/cpukit/libnetworking/lib/tftpDriver.c
+++ b/cpukit/libnetworking/lib/tftpDriver.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 */