summaryrefslogtreecommitdiffstats
path: root/lib/libipx
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-21 23:39:28 +0000
committerobrien <obrien@FreeBSD.org>2002-03-21 23:39:28 +0000
commit084b4588f24346b3d369eaf49193461c380e8521 (patch)
tree1cbfa8bb28a9bf0d0b93ca61ac5323ef95e4c7f7 /lib/libipx
parent454845084c112df969ca14adced4fd6c1d7305b6 (diff)
downloadFreeBSD-src-084b4588f24346b3d369eaf49193461c380e8521.zip
FreeBSD-src-084b4588f24346b3d369eaf49193461c380e8521.tar.gz
Remove 'register' keyword.
Diffstat (limited to 'lib/libipx')
-rw-r--r--lib/libipx/ipx_addr.c2
-rw-r--r--lib/libipx/ipx_ntoa.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libipx/ipx_addr.c b/lib/libipx/ipx_addr.c
index 7a4c6b8..30b3f6a 100644
--- a/lib/libipx/ipx_addr.c
+++ b/lib/libipx/ipx_addr.c
@@ -104,7 +104,7 @@ Field(buf, out, len)
u_char *out;
int len;
{
- register char *bp = buf;
+ char *bp = buf;
int i, ibase, base16 = 0, base10 = 0, clen = 0;
int hb[6], *hp;
char *fmt;
diff --git a/lib/libipx/ipx_ntoa.c b/lib/libipx/ipx_ntoa.c
index 437a2b3..d27a121 100644
--- a/lib/libipx/ipx_ntoa.c
+++ b/lib/libipx/ipx_ntoa.c
@@ -50,9 +50,9 @@ ipx_ntoa(addr)
static char obuf[40];
union { union ipx_net net_e; u_long long_e; } net;
u_short port = htons(addr.x_port);
- register char *cp;
+ char *cp;
char *cp2;
- register u_char *up = addr.x_host.c_host;
+ u_char *up = addr.x_host.c_host;
u_char *uplim = up + 6;
static char *spectHex();
@@ -87,7 +87,7 @@ spectHex(p0)
{
int ok = 0;
int nonzero = 0;
- register char *p = p0;
+ char *p = p0;
for (; *p; p++) switch (*p) {
case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
OpenPOWER on IntegriCloud