summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 16:01:51 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 16:01:51 +0000
commit05c18861dd58a08076d0fa97f72cb88c4a5698e5 (patch)
tree44213053eba92e81452144bb67dba9a6f62841a9 /cpukit/libnetworking
parentWhitespace removal. (diff)
downloadrtems-05c18861dd58a08076d0fa97f72cb88c4a5698e5.tar.bz2
Whitespace removal.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/netinet/in_cksum.c2
-rw-r--r--cpukit/libnetworking/netinet/in_cksum_arm.h10
-rw-r--r--cpukit/libnetworking/rtems/bsdnet/_types.h2
-rw-r--r--cpukit/libnetworking/rtems/bsdnet/servers.h2
-rw-r--r--cpukit/libnetworking/rtems/dhcp.h2
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet.h8
-rw-r--r--cpukit/libnetworking/rtems/rtems_dhcp.c92
-rw-r--r--cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c4
-rw-r--r--cpukit/libnetworking/rtems/rtems_dhcp_failsafe.h2
-rw-r--r--cpukit/libnetworking/rtems/rtems_malloc_mbuf.c2
-rw-r--r--cpukit/libnetworking/rtems/rtems_mii_ioctl.c20
-rw-r--r--cpukit/libnetworking/rtems/rtems_mii_ioctl.h22
-rw-r--r--cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c20
-rw-r--r--cpukit/libnetworking/rtems/rtems_socketpair.c6
14 files changed, 97 insertions, 97 deletions
diff --git a/cpukit/libnetworking/netinet/in_cksum.c b/cpukit/libnetworking/netinet/in_cksum.c
index c983b797bb..af56d1e7c4 100644
--- a/cpukit/libnetworking/netinet/in_cksum.c
+++ b/cpukit/libnetworking/netinet/in_cksum.c
@@ -38,7 +38,7 @@
*/
-#if (defined(__GNUC__) && (defined(__arm__) && !defined(__thumb__)))
+#if (defined(__GNUC__) && (defined(__arm__) && !defined(__thumb__)))
/* This currently does not support Thumb assembly */
#include "in_cksum_arm.h"
diff --git a/cpukit/libnetworking/netinet/in_cksum_arm.h b/cpukit/libnetworking/netinet/in_cksum_arm.h
index 9b0bab00c4..74a3c6839e 100644
--- a/cpukit/libnetworking/netinet/in_cksum_arm.h
+++ b/cpukit/libnetworking/netinet/in_cksum_arm.h
@@ -239,7 +239,7 @@ int
in4_cksum(
struct mbuf *m,
u_int8_t nxt,
- int off,
+ int off,
int len )
{
u_int sum = 0;
@@ -254,14 +254,14 @@ in4_cksum(
panic("in4_cksum: offset too short");
if (m->m_len < sizeof(struct ip))
panic("in4_cksum: bad mbuf chain");
-
+
bzero(&ipov, sizeof(ipov));
ipov.ih_len = htons(len);
- ipov.ih_pr = nxt;
- ipov.ih_src = mtod(m, struct ip *)->ip_src;
+ ipov.ih_pr = nxt;
+ ipov.ih_src = mtod(m, struct ip *)->ip_src;
ipov.ih_dst = mtod(m, struct ip *)->ip_dst;
w = (u_char *)&ipov;
-
+
/* assumes sizeof(ipov) == 20 */
ADD16;
ADD4;
diff --git a/cpukit/libnetworking/rtems/bsdnet/_types.h b/cpukit/libnetworking/rtems/bsdnet/_types.h
index 898907c1f5..3f600ff670 100644
--- a/cpukit/libnetworking/rtems/bsdnet/_types.h
+++ b/cpukit/libnetworking/rtems/bsdnet/_types.h
@@ -29,7 +29,7 @@
/*
* $Id$
*/
-
+
#ifndef _RTEMS_BSDNET__TYPES_H_
#define _RTEMS_BSDNET__TYPES_H_
diff --git a/cpukit/libnetworking/rtems/bsdnet/servers.h b/cpukit/libnetworking/rtems/bsdnet/servers.h
index 8e017d237d..ca6c702cea 100644
--- a/cpukit/libnetworking/rtems/bsdnet/servers.h
+++ b/cpukit/libnetworking/rtems/bsdnet/servers.h
@@ -1,7 +1,7 @@
/**
* @file rtems/rtems_bsdnet.h
*/
-
+
/*
* $Id$
*/
diff --git a/cpukit/libnetworking/rtems/dhcp.h b/cpukit/libnetworking/rtems/dhcp.h
index fde94b8e4d..b29fc66c65 100644
--- a/cpukit/libnetworking/rtems/dhcp.h
+++ b/cpukit/libnetworking/rtems/dhcp.h
@@ -5,7 +5,7 @@
Copyright Cybertec Pty Ltd, 2005
All rights reserved Cybertec Pty Ltd, 2005
-
+
This software with is provided ``as is'' and with NO WARRANTY.
------------------------------------------------------------------------
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h
index 41ae7132e9..6c40e73f10 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h
@@ -1,7 +1,7 @@
/**
* @file rtems/rtems_bsdnet.h
*/
-
+
/*
* $Id$
*/
@@ -155,7 +155,7 @@ struct rtems_bsdnet_config {
/*
* Default "multiplier" on buffer size. This is
* claimed by the TCP/IP implementation to be for
- * efficiency but you will have to measure the
+ * efficiency but you will have to measure the
* benefit for buffering beyond double buffering
* in your own application.
*
@@ -168,7 +168,7 @@ struct rtems_bsdnet_config {
* Default UDP buffer sizes PER SOCKET!!
*
* TX = 9216 -- max datagram size
- * RX = 40 * (1024 + sizeof(struct sockaddr_in))
+ * RX = 40 * (1024 + sizeof(struct sockaddr_in))
*
* See netinet/udp_usrreq.c for details
*/
@@ -296,7 +296,7 @@ void rtems_bsdnet_malloc_starvation(void);
/*
* mbuf malloc interface to enable custom allocation of mbuf's
- *
+ *
* May be declared in user code. If not, then the default is to
* malloc.
*/
diff --git a/cpukit/libnetworking/rtems/rtems_dhcp.c b/cpukit/libnetworking/rtems/rtems_dhcp.c
index 490c11611c..df1acca710 100644
--- a/cpukit/libnetworking/rtems/rtems_dhcp.c
+++ b/cpukit/libnetworking/rtems/rtems_dhcp.c
@@ -1,5 +1,5 @@
/*
- * DCHP client for RTEMS
+ * DCHP client for RTEMS
* Andrew Bythell, <abythell@nortelnetworks.com>
* based on and uses subroutines from c/src/libnetworking/nfs/bootp_subr.c
*/
@@ -166,7 +166,7 @@ struct dhcp_packet
unsigned char vend[312];
};
-/*
+/*
* External Declarations for Functions found in
* rtems/c/src/libnetworking/nfs/
*/
@@ -236,11 +236,11 @@ printsetup (const char *iface,
char ip_str[15];
printf ("dhcpc: %s: ", iface);
-
+
ip = ntohl (ip_addr.s_addr);
format_ip (ip, ip_str);
printf ("inet: %-15s ", ip_str);
-
+
ip = ntohl (mask_addr.s_addr);
format_ip (ip, ip_str);
printf ("mask: %-15s\n", ip_str);
@@ -248,11 +248,11 @@ printsetup (const char *iface,
ip = ntohl (srv_addr.s_addr);
format_ip (ip, ip_str);
printf (" srv: %-15s ", ip_str);
-
+
ip = ntohl (gw_addr.s_addr);
format_ip (ip, ip_str);
printf (" gw: %-15s\n", ip_str);
-
+
return;
}
@@ -283,13 +283,13 @@ process_options (unsigned char *optbuf, int optbufSize)
}
len = optbuf[j + 1];
j += 2;
-
+
if ((len + j) >= optbufSize)
{
printf ("Truncated field for code %d", code);
return;
}
-
+
ncode = optbuf[j + len];
optbuf[j + len] = '\0';
p = (char*) &optbuf[j];
@@ -420,7 +420,7 @@ process_options (unsigned char *optbuf, int optbufSize)
/* DHCP Requested IP Address */
if (len != 4)
printf ("dhcpc: DHCP option requested IP len is %d", len);
- /*
+ /*
* although nothing happens here, this case keeps the client
* from complaining about unknown options. The Requested IP
* is necessary to return to the server for a DHCP REQUEST
@@ -436,7 +436,7 @@ process_options (unsigned char *optbuf, int optbufSize)
memcpy (&dhcp_lease_time, &p[0], 4);
dhcp_lease_time = ntohl (dhcp_lease_time);
break;
-
+
case 52:
/* DHCP option override */
if (len != 1) {
@@ -455,7 +455,7 @@ process_options (unsigned char *optbuf, int optbufSize)
dhcp_message_type = p[0];
break;
- case 128: /* Site-specific option for DHCP servers that
+ case 128: /* Site-specific option for DHCP servers that
* a) don't supply tag 54
* and
* b) don't supply the server address in siaddr
@@ -501,7 +501,7 @@ dhcp_discover_req (struct dhcp_packet* call,
unsigned long *xid)
{
int len = 0;
-
+
memset (call, 0, sizeof (struct dhcp_packet));
/*
@@ -514,7 +514,7 @@ dhcp_discover_req (struct dhcp_packet* call,
(*xid)++;
call->xid = htonl (*xid);
call->flags = htons (DHCP_BROADCAST);
-
+
memcpy (&call->chaddr, LLADDR (sdl), sdl->sdl_alen);
/*
@@ -567,7 +567,7 @@ dhcp_request_req (struct dhcp_packet* call,
int len = 0;
unsigned long temp;
char *hostname;
-
+
memset (call, 0, sizeof (struct dhcp_packet));
/*
@@ -619,7 +619,7 @@ dhcp_request_req (struct dhcp_packet* call,
call->vend[len++] = sizeof (reply->yiaddr);
memcpy (&call->vend[len], &reply->yiaddr, sizeof (reply->yiaddr));
len += sizeof (reply->yiaddr);
-
+
/*
* DHCP Parameter request list
*/
@@ -690,12 +690,12 @@ dhcp_task (rtems_task_argument _sdl)
struct proc *procp = NULL;
int disconnected;
rtems_status_code ev_st;
-
+
sdl = (struct sockaddr_dl *) _sdl;
-
+
count = dhcp_elapsed_time;
disconnected = 0;
-
+
while (true)
{
/*
@@ -709,7 +709,7 @@ dhcp_task (rtems_task_argument _sdl)
/*
* Check if not a poll timeout. So when ANY event received, exit task.
* Actually, only event RTEMS_EVENT_0 sent from rtem_dhcp_failsafe.c
- * if "failsafe" dhcp enabled when interface down. Otherwise, no
+ * if "failsafe" dhcp enabled when interface down. Otherwise, no
* event should occur, just timeout.
*/
if(ev_st != RTEMS_TIMEOUT)
@@ -720,7 +720,7 @@ dhcp_task (rtems_task_argument _sdl)
if (count >= (dhcp_lease_time / 2))
{
rtems_bsdnet_semaphore_obtain ();
-
+
dhcp_request_req (&call, &dhcp_req, sdl, true);
/*
@@ -744,18 +744,18 @@ dhcp_task (rtems_task_argument _sdl)
printf ("DHCP server did not send Magic Cookie.\n");
continue;
}
-
+
process_options (&dhcp_req.vend[4], sizeof (dhcp_req.vend) - 4);
-
+
if (dhcp_message_type != DHCP_ACK)
{
rtems_bsdnet_semaphore_release ();
printf ("DHCP server did not accept the DHCP request");
continue;
}
-
+
rtems_bsdnet_semaphore_release ();
-
+
count = 0;
}
}
@@ -776,7 +776,7 @@ dhcp_start_task (struct sockaddr_dl *sdl,
int priority)
{
rtems_status_code sc;
-
+
memcpy (&dhcp_req, reply, sizeof (struct dhcp_packet));
sc = rtems_task_create (rtems_build_name ('d','h','c','p'),
@@ -810,14 +810,14 @@ dhcp_interface_has_ip (struct ifreq *ireq, struct socket *so, struct proc *procp
{
struct sockaddr_in* sin;
int error;
-
+
/*
* Check if the interface is already up.
*/
error = ifioctl(so, SIOCGIFFLAGS, (caddr_t)ireq, procp);
if (error)
return 0;
-
+
if ((ireq->ifr_flags & IFF_UP) == 0)
return 0;
@@ -836,7 +836,7 @@ dhcp_interface_has_ip (struct ifreq *ireq, struct socket *so, struct proc *procp
}
/*
- * DCHP Client Routine
+ * DCHP Client Routine
* - The first DHCP offer is always accepted
* - No DHCP DECLINE message is sent if ARPing fails
*
@@ -869,7 +869,7 @@ dhcp_init (int update_files)
printf("Error creating the root filesystem.\nFile not created.\n");
update_files = 0;
}
-
+
/*
* Find a network interface.
*/
@@ -938,7 +938,7 @@ dhcp_init (int update_files)
}
process_options (&reply.vend[4], sizeof (reply.vend) - 4);
-
+
if (dhcp_message_type != DHCP_OFFER) {
printf ("DHCP server did not send a DHCP Offer.\n");
soclose (so);
@@ -946,10 +946,10 @@ dhcp_init (int update_files)
}
/*
- * Send a DHCP REQUEST
+ * Send a DHCP REQUEST
*/
dhcp_request_req (&call, &reply, sdl, true);
-
+
error = bootpc_call (&call, &reply, procp);
if (error) {
printf ("BOOTP call failed -- %s\n", strerror(error));
@@ -965,9 +965,9 @@ dhcp_init (int update_files)
soclose (so);
return -1;
}
-
+
process_options (&reply.vend[4], sizeof (reply.vend) - 4);
-
+
if (dhcp_message_type != DHCP_ACK) {
printf ("DHCP server did not accept the DHCP request\n");
soclose (so);
@@ -997,13 +997,13 @@ dhcp_init (int update_files)
*/
if (memcmp (&reply.vend[0], dhcp_magic_cookie, sizeof (dhcp_magic_cookie)) == 0)
process_options (&reply.vend[4], sizeof (reply.vend) - 4);
-
+
if (dhcp_option_overload & 1)
process_options ((unsigned char*) reply.file, sizeof reply.file);
else
if (reply.file[0])
rtems_bsdnet_bootp_boot_file_name = strdup (reply.file);
-
+
if (dhcp_option_overload & 2)
process_options ((unsigned char*) reply.sname, sizeof reply.sname);
else
@@ -1022,13 +1022,13 @@ dhcp_init (int update_files)
else
dhcp_netmask.sin_addr.s_addr = htonl (IN_CLASSC_NET);
}
-
+
if (!dhcp_gotserver)
rtems_bsdnet_bootp_server_address = reply.siaddr;
-
+
if (!dhcp_gotgw)
dhcp_gw.sin_addr = reply.giaddr;
-
+
if (!dhcp_gotlogserver)
rtems_bsdnet_log_host_address = rtems_bsdnet_bootp_server_address;
@@ -1076,9 +1076,9 @@ dhcp_init (int update_files)
const char *bufl[1];
bufl[0] = buf;
-
+
#define MKFILE_MODE (S_IRUSR | S_IWUSR | S_IWGRP | S_IRGRP | S_IROTH)
-
+
if (rtems_bsdnet_domain_name &&
(strlen(rtems_bsdnet_domain_name) < (sizeof(buf) - 1))) {
strcpy(buf, "search ");
@@ -1096,7 +1096,7 @@ dhcp_init (int update_files)
}
}
}
-
+
/*
* Configure the interface with the new settings
*/
@@ -1108,7 +1108,7 @@ dhcp_init (int update_files)
*/
if (dhcp_lease_time != 0xffffffff)
dhcp_start_task (sdl, &reply, 150);
-
+
soclose (so);
return 0;
@@ -1171,7 +1171,7 @@ rtems_bsdnet_do_dhcp_refresh_only (unsigned long xid,
*/
if (lease_time == 0xffffffff)
return;
-
+
/*
* Find a network interface.
*/
@@ -1199,7 +1199,7 @@ rtems_bsdnet_do_dhcp_refresh_only (unsigned long xid,
(sdl = ((struct sockaddr_dl *) ifa->ifa_addr)) &&
sdl->sdl_type == IFT_ETHER)
break;
-
+
if (!match) {
printf ("dhcpc: no matching interface address\n");
return;
@@ -1220,7 +1220,7 @@ rtems_bsdnet_do_dhcp_refresh_only (unsigned long xid,
dhcp_lease_time = lease_time;
dhcp_elapsed_time = elapsed_time;
-
+
if (hostname)
{
sethostname ((char *) hostname, strlen (hostname));
diff --git a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c
index 3f69882c33..609a19eb0a 100644
--- a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c
+++ b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c
@@ -1,4 +1,4 @@
-/*
+/*
$Id$
Description: Wrapper around DHCP client to restart it when the interface
@@ -32,7 +32,7 @@
* Optionally, after the interface is configured (either with DHCP or
statically), a task is started to monitor it. When the interface remains
- disconnected (i.e. its IFF_RUNNING flag is off) for NETWORK_FAIL_TIMEOUT
+ disconnected (i.e. its IFF_RUNNING flag is off) for NETWORK_FAIL_TIMEOUT
seconds, the dhcp lease renewal is stopped. As soon as the interface is
connected again, DHCP is started again as above.
If NETWORK_FAIL_TIMEOUT is set to 0, the monitor task is not started.
diff --git a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.h b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.h
index 24c1c900c0..320f9bf151 100644
--- a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.h
+++ b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.h
@@ -1,4 +1,4 @@
-/*
+/*
$Id$
Description: Wrapper around DHCP client to restart it when the interface
diff --git a/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c b/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c
index 628d7dc23f..a2bd34a4c4 100644
--- a/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c
+++ b/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c
@@ -27,7 +27,7 @@
extern void *malloc(size_t);
/*
- * Default allocator for mbuf data. Over-ride in user code to change
+ * Default allocator for mbuf data. Over-ride in user code to change
* the way mbuf's are allocated.
*/
diff --git a/cpukit/libnetworking/rtems/rtems_mii_ioctl.c b/cpukit/libnetworking/rtems/rtems_mii_ioctl.c
index fc01f2bc30..6501fc0ae9 100644
--- a/cpukit/libnetworking/rtems/rtems_mii_ioctl.c
+++ b/cpukit/libnetworking/rtems/rtems_mii_ioctl.c
@@ -5,22 +5,22 @@
*
* USERSPACE UTILITIES
*
- * NOTE: This much simpler than the BSD ifmedia API
+ * NOTE: This much simpler than the BSD ifmedia API
*/
-/*
+/*
* Authorship
* ----------
* This software was created by
* Till Straumann <strauman@slac.stanford.edu>, 2005,
* Stanford Linear Accelerator Center, Stanford University.
- *
+ *
* Acknowledgement of sponsorship
* ------------------------------
* This software was produced by
* the Stanford Linear Accelerator Center, Stanford University,
* under Contract DE-AC03-76SFO0515 with the Department of Energy.
- *
+ *
* Government disclaimer of liability
* ----------------------------------
* Neither the United States nor the United States Department of Energy,
@@ -29,18 +29,18 @@
* completeness, or usefulness of any data, apparatus, product, or process
* disclosed, or represents that its use would not infringe privately owned
* rights.
- *
+ *
* Stanford disclaimer of liability
* --------------------------------
* Stanford University makes no representations or warranties, express or
* implied, nor assumes any liability for the use of this software.
- *
+ *
* Stanford disclaimer of copyright
* --------------------------------
* Stanford University, owner of the copyright, hereby disclaims its
* copyright and all other rights in this software. Hence, anyone may
- * freely use it for any purpose without restriction.
- *
+ * freely use it for any purpose without restriction.
+ *
* Maintenance of notices
* ----------------------
* In the interest of clarity regarding the origin and status of this
@@ -49,9 +49,9 @@
* or distributed by the recipient and are to be affixed to any copy of
* software made or distributed by the recipient that contains a copy or
* derivative of this software.
- *
+ *
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
- */
+ */
#include <rtems.h>
#include <inttypes.h>
diff --git a/cpukit/libnetworking/rtems/rtems_mii_ioctl.h b/cpukit/libnetworking/rtems/rtems_mii_ioctl.h
index bbc9f098e5..c24f2787a0 100644
--- a/cpukit/libnetworking/rtems/rtems_mii_ioctl.h
+++ b/cpukit/libnetworking/rtems/rtems_mii_ioctl.h
@@ -1,24 +1,24 @@
/* Simple (default) implementation for SIOCGIFMEDIA/SIOCSIFMEDIA
* to be used by ethernet drivers [from their ioctl].
*
- * NOTE: This much simpler than the BSD ifmedia API
+ * NOTE: This much simpler than the BSD ifmedia API
*
* $Id$
*/
-/*
+/*
* Authorship
* ----------
* This software was created by
* Till Straumann <strauman@slac.stanford.edu>, 2005,
* Stanford Linear Accelerator Center, Stanford University.
- *
+ *
* Acknowledgement of sponsorship
* ------------------------------
* This software was produced by
* the Stanford Linear Accelerator Center, Stanford University,
* under Contract DE-AC03-76SFO0515 with the Department of Energy.
- *
+ *
* Government disclaimer of liability
* ----------------------------------
* Neither the United States nor the United States Department of Energy,
@@ -27,18 +27,18 @@
* completeness, or usefulness of any data, apparatus, product, or process
* disclosed, or represents that its use would not infringe privately owned
* rights.
- *
+ *
* Stanford disclaimer of liability
* --------------------------------
* Stanford University makes no representations or warranties, express or
* implied, nor assumes any liability for the use of this software.
- *
+ *
* Stanford disclaimer of copyright
* --------------------------------
* Stanford University, owner of the copyright, hereby disclaims its
* copyright and all other rights in this software. Hence, anyone may
- * freely use it for any purpose without restriction.
- *
+ * freely use it for any purpose without restriction.
+ *
* Maintenance of notices
* ----------------------
* In the interest of clarity regarding the origin and status of this
@@ -47,9 +47,9 @@
* or distributed by the recipient and are to be affixed to any copy of
* software made or distributed by the recipient that contains a copy or
* derivative of this software.
- *
+ *
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
- */
+ */
#ifndef RTEMS_MII_IOCTL_H
#define RTEMS_MII_IOCTL_H
@@ -122,7 +122,7 @@ int rtems_ifmedia2str (int media, char *buf, int bufsz);
* In addition to IFM_SUBTYPE_ETHERNET_DESCRIPTIONS and
* IFM_SUBTYPE_ETHERNET_ALIASES, the strings
*
- * '10' [ '0' [ '0' ]] 'b' [ 'ase' ] ( 't' | 'T' )
+ * '10' [ '0' [ '0' ]] 'b' [ 'ase' ] ( 't' | 'T' )
* (* if 100bT [ 'x' | 'X' ] is required here *)
*
* are recognized (e.g., 10bT, 100bTX)
diff --git a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
index 0f9e61f174..2fdf4fb27d 100644
--- a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
+++ b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
@@ -5,22 +5,22 @@
*
* KERNEL PART (support for drivers)
*
- * NOTE: This much simpler than the BSD ifmedia API
+ * NOTE: This much simpler than the BSD ifmedia API
*/
-/*
+/*
* Authorship
* ----------
* This software was created by
* Till Straumann <strauman@slac.stanford.edu>, 2005,
* Stanford Linear Accelerator Center, Stanford University.
- *
+ *
* Acknowledgement of sponsorship
* ------------------------------
* This software was produced by
* the Stanford Linear Accelerator Center, Stanford University,
* under Contract DE-AC03-76SFO0515 with the Department of Energy.
- *
+ *
* Government disclaimer of liability
* ----------------------------------
* Neither the United States nor the United States Department of Energy,
@@ -29,18 +29,18 @@
* completeness, or usefulness of any data, apparatus, product, or process
* disclosed, or represents that its use would not infringe privately owned
* rights.
- *
+ *
* Stanford disclaimer of liability
* --------------------------------
* Stanford University makes no representations or warranties, express or
* implied, nor assumes any liability for the use of this software.
- *
+ *
* Stanford disclaimer of copyright
* --------------------------------
* Stanford University, owner of the copyright, hereby disclaims its
* copyright and all other rights in this software. Hence, anyone may
- * freely use it for any purpose without restriction.
- *
+ * freely use it for any purpose without restriction.
+ *
* Maintenance of notices
* ----------------------
* In the interest of clarity regarding the origin and status of this
@@ -49,9 +49,9 @@
* or distributed by the recipient and are to be affixed to any copy of
* software made or distributed by the recipient that contains a copy or
* derivative of this software.
- *
+ *
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
- */
+ */
/* include first to avoid 'malloc' clash with rtems_bsdnet_malloc() hack */
diff --git a/cpukit/libnetworking/rtems/rtems_socketpair.c b/cpukit/libnetworking/rtems/rtems_socketpair.c
index 5e7193cf18..09f93ad69a 100644
--- a/cpukit/libnetworking/rtems/rtems_socketpair.c
+++ b/cpukit/libnetworking/rtems/rtems_socketpair.c
@@ -2,18 +2,18 @@
* socketpair() for RTEMS
*
* This file exists primarily to document what is required to provide
- * a functional implementation of socketpair() for RTEMS.
+ * a functional implementation of socketpair() for RTEMS.
*
* The socketpair() service requires that the "local domain" sockets
* be functional. This is denoted by the domain constants AF_LOCAL
* and AF_UNIX and the protocol constants PF_LOCAL and PF_UNIX. The
* local domain functionality is implemented in the file kern/uipc_usrreq.c
* which was not part of the initial port of the FreeBSD stack to
- * RTEMS.
+ * RTEMS.
*
* The FreeBSD socketpair implementation appears to be dependent on
* file system features which are not available currently in RTEMS.
- *
+ *
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*