summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/ns_ntoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/ns_ntoa.c')
-rw-r--r--lib/libc/net/ns_ntoa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/ns_ntoa.c b/lib/libc/net/ns_ntoa.c
index 6ba2caf..0f9458f 100644
--- a/lib/libc/net/ns_ntoa.c
+++ b/lib/libc/net/ns_ntoa.c
@@ -52,9 +52,9 @@ ns_ntoa(addr)
static char obuf[40];
union { union ns_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();
@@ -89,7 +89,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