diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-07-07 06:55:48 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-07-07 06:55:48 +0000 |
commit | 9f816ad4dc6730d340372eef082f95b71a3473a1 (patch) | |
tree | 185a46cdce085c1515918ab037f9c30466df69ed /cpukit | |
parent | 2011-07-04 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-9f816ad4dc6730d340372eef082f95b71a3473a1.tar.bz2 |
2011-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/rtems/tftp.h, libnetworking/lib/tftpDriver.c: Fixed
prototype.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libnetworking/lib/tftpDriver.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/tftp.h | 7 |
3 files changed, 11 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index cfdd07820a..9393317e07 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2011-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * libnetworking/rtems/tftp.h, libnetworking/lib/tftpDriver.c: Fixed + prototype. + 2011-07-04 Chris Johns <chrisj@rtems.org> PR 1827/filesystem diff --git a/cpukit/libnetworking/lib/tftpDriver.c b/cpukit/libnetworking/lib/tftpDriver.c index 4122c3d96f..268ec79e7c 100644 --- a/cpukit/libnetworking/lib/tftpDriver.c +++ b/cpukit/libnetworking/lib/tftpDriver.c @@ -25,10 +25,10 @@ #include <unistd.h> #include <fcntl.h> #include <rtems.h> -#include <rtems/libio.h> #include <rtems/libio_.h> #include <rtems/seterr.h> #include <rtems/rtems_bsdnet.h> +#include <rtems/tftp.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/cpukit/libnetworking/rtems/tftp.h b/cpukit/libnetworking/rtems/tftp.h index ae8588deca..0d826bfa25 100644 --- a/cpukit/libnetworking/rtems/tftp.h +++ b/cpukit/libnetworking/rtems/tftp.h @@ -31,12 +31,15 @@ extern "C" { #endif -#include <rtems/libio.h> +#include <rtems/fs.h> /* * Filesystem Mount table entry. */ -int rtems_tftpfs_initialize(rtems_filesystem_mount_table_entry_t *temp_mt_entry); +int rtems_tftpfs_initialize( + rtems_filesystem_mount_table_entry_t *mt_entry, + const void *data +); #ifdef __cplusplus } |