summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r--cpukit/libnetworking/rtems/ftpfs.h4
-rw-r--r--cpukit/libnetworking/rtems/mkrootfs.c2
-rw-r--r--cpukit/libnetworking/rtems/mkrootfs.h2
-rw-r--r--cpukit/libnetworking/rtems/rtems_showroute.c6
4 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libnetworking/rtems/ftpfs.h b/cpukit/libnetworking/rtems/ftpfs.h
index c2ac0e839a..e0592394f7 100644
--- a/cpukit/libnetworking/rtems/ftpfs.h
+++ b/cpukit/libnetworking/rtems/ftpfs.h
@@ -30,10 +30,10 @@ extern "C" {
#include <rtems/libio.h>
/* create mount point and mount ftp file system */
- int rtems_bsdnet_initialize_ftp_filesystem () ;
+extern int rtems_bsdnet_initialize_ftp_filesystem (void);
/* FTP File sysem operations table. */
- extern rtems_filesystem_operations_table rtems_ftp_ops;
+extern rtems_filesystem_operations_table rtems_ftp_ops;
#ifdef __cplusplus
}
diff --git a/cpukit/libnetworking/rtems/mkrootfs.c b/cpukit/libnetworking/rtems/mkrootfs.c
index a65f249930..bd2296701e 100644
--- a/cpukit/libnetworking/rtems/mkrootfs.c
+++ b/cpukit/libnetworking/rtems/mkrootfs.c
@@ -298,7 +298,7 @@ rtems_rootfs_append_host_rec (unsigned long cip,
*/
int
-rtems_create_root_fs ()
+rtems_create_root_fs (void)
{
const char *lines[1];
int i;
diff --git a/cpukit/libnetworking/rtems/mkrootfs.h b/cpukit/libnetworking/rtems/mkrootfs.h
index ce07900f2c..661ddc6147 100644
--- a/cpukit/libnetworking/rtems/mkrootfs.h
+++ b/cpukit/libnetworking/rtems/mkrootfs.h
@@ -64,7 +64,7 @@ rtems_rootfs_append_host_rec (unsigned long cip,
*/
int
-rtems_create_root_fs ();
+rtems_create_root_fs ( void );
#ifdef __cplusplus
}
diff --git a/cpukit/libnetworking/rtems/rtems_showroute.c b/cpukit/libnetworking/rtems/rtems_showroute.c
index d6b0455ba3..a1eca66978 100644
--- a/cpukit/libnetworking/rtems/rtems_showroute.c
+++ b/cpukit/libnetworking/rtems/rtems_showroute.c
@@ -88,9 +88,9 @@ copyAddress (void *to, void *from, int tolen)
* the printing completes!
*/
static int
-show_inet_route (rn, vw)
- struct radix_node *rn;
- void *vw;
+show_inet_route (
+ struct radix_node *rn,
+ void *vw )
{
struct rtentry *rt = (struct rtentry *)rn;
struct ifnet *ifp;