summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/lib/tftpDriver.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-19 15:33:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-19 15:33:03 +0000
commit0da0dea2248c0c97a59a91af9aee63998bbdbc40 (patch)
tree8f58c7960bdf4b8d8598efa42733a989dbb07567 /c/src/libnetworking/lib/tftpDriver.c
parent2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com> (diff)
downloadrtems-0da0dea2248c0c97a59a91af9aee63998bbdbc40.tar.bz2
2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* lib/tftpDriver.c: add comments to handlers struct function pointers. * rtems/rtems_glue.c: move pointer arithmetic to be _after_ pointer has been checked against NULL.
Diffstat (limited to '')
-rw-r--r--c/src/libnetworking/lib/tftpDriver.c26
1 files changed, 14 insertions, 12 deletions
diff --git a/c/src/libnetworking/lib/tftpDriver.c b/c/src/libnetworking/lib/tftpDriver.c
index ea3de5a901..4294356b9c 100644
--- a/c/src/libnetworking/lib/tftpDriver.c
+++ b/c/src/libnetworking/lib/tftpDriver.c
@@ -760,16 +760,18 @@ rtems_filesystem_operations_table rtems_tftp_ops = {
};
rtems_filesystem_file_handlers_r rtems_tftp_handlers = {
- rtems_tftp_open,
- rtems_tftp_close,
- rtems_tftp_read,
- rtems_tftp_write,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
+ rtems_tftp_open, /* open */
+ rtems_tftp_close, /* close */
+ rtems_tftp_read, /* read */
+ rtems_tftp_write, /* write */
+ NULL, /* ioctl */
+ NULL, /* lseek */
+ NULL, /* fstat */
+ NULL, /* fchmod */
+ NULL, /* ftruncate */
+ NULL, /* fpathconf */
+ NULL, /* fsync */
+ NULL, /* fdatasync */
+ NULL, /* fcntl */
+ NULL /* rmnod */
};