summaryrefslogtreecommitdiff
path: root/inet/inet_net.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
commit2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch)
tree999c9d18279a7de289937116273ae4016356aa3a /inet/inet_net.c
parent8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff)
downloadglibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.gz
Avoid use of "register" as optimization hint.
Diffstat (limited to 'inet/inet_net.c')
-rw-r--r--inet/inet_net.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/inet/inet_net.c b/inet/inet_net.c
index d58f1ae8e3..68e232f3d3 100644
--- a/inet/inet_net.c
+++ b/inet/inet_net.c
@@ -43,10 +43,10 @@ static char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
*/
u_int32_t
inet_network(cp)
- register const char *cp;
+ const char *cp;
{
- register u_int32_t val, base, n, i;
- register char c;
+ u_int32_t val, base, n, i;
+ char c;
u_int32_t parts[4], *pp = parts;
int digit;