mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
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.
This commit is contained in:
@@ -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 */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user