From 2e09a79ada1f6d92809a037d41895e3d9302ad59 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 7 Jun 2013 22:24:35 +0000 Subject: Avoid use of "register" as optimization hint. --- nis/nis_hash.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nis/nis_hash.c') diff --git a/nis/nis_hash.c b/nis/nis_hash.c index d8a6d06fdd..c927575cc2 100644 --- a/nis/nis_hash.c +++ b/nis/nis_hash.c @@ -30,11 +30,11 @@ * OZ's original sdbm hash */ uint32_t -__nis_hash (const void *keyarg, register size_t len) +__nis_hash (const void *keyarg, size_t len) { - register const u_char *key; - register size_t loop; - register uint32_t h; + const u_char *key; + size_t loop; + uint32_t h; #define HASHC h = *key++ + 65599 * h -- cgit v1.2.1