summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-07-07 06:55:48 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-07-07 06:55:48 +0000
commit9f816ad4dc6730d340372eef082f95b71a3473a1 (patch)
tree185a46cdce085c1515918ab037f9c30466df69ed /cpukit/libnetworking
parent2011-07-04 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-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/libnetworking')
-rw-r--r--cpukit/libnetworking/lib/tftpDriver.c2
-rw-r--r--cpukit/libnetworking/rtems/tftp.h7
2 files changed, 6 insertions, 3 deletions
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
}