summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/rtmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/bootpd/rtmsg.c')
-rw-r--r--libexec/bootpd/rtmsg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libexec/bootpd/rtmsg.c b/libexec/bootpd/rtmsg.c
index 09886fd..a3dbb8e 100644
--- a/libexec/bootpd/rtmsg.c
+++ b/libexec/bootpd/rtmsg.c
@@ -118,9 +118,9 @@ int bsd_arp_set(ia, eaddr, len)
char *eaddr;
int len;
{
- register struct sockaddr_in *sin = &sin_m;
- register struct sockaddr_dl *sdl;
- register struct rt_msghdr *rtm = &(m_rtmsg.m_rtm);
+ struct sockaddr_in *sin = &sin_m;
+ struct sockaddr_dl *sdl;
+ struct rt_msghdr *rtm = &(m_rtmsg.m_rtm);
u_char *ea;
struct timespec tp;
int op = RTM_ADD;
@@ -179,9 +179,9 @@ static int rtmsg(cmd)
{
static int seq;
int rlen;
- register struct rt_msghdr *rtm = &m_rtmsg.m_rtm;
- register char *cp = m_rtmsg.m_space;
- register int l;
+ struct rt_msghdr *rtm = &m_rtmsg.m_rtm;
+ char *cp = m_rtmsg.m_space;
+ int l;
errno = 0;
bzero((char *)&m_rtmsg, sizeof(m_rtmsg));
OpenPOWER on IntegriCloud