summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2005-02-06 04:41:40 +0000
committerperry <perry@NetBSD.org>2005-02-06 04:41:40 +0000
commitfc7ef6c16599cf6bf01560c46162120eed03da7a (patch)
treefa2ddfb8de158b11f6927091be7ce72854c2598f /include
parentbbac53bdab58ddca9ae6fcb14c3a9c52926fe0eb (diff)
remove obsolete register declarations.
Diffstat (limited to 'include')
-rw-r--r--include/arpa/nameser.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h
index bafa8f89691..8193b6175a7 100644
--- a/include/arpa/nameser.h
+++ b/include/arpa/nameser.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nameser.h,v 1.17 2005/02/03 04:39:32 perry Exp $ */
+/* $NetBSD: nameser.h,v 1.18 2005/02/06 04:41:40 perry Exp $ */
/*
* Copyright (c) 1983, 1989, 1993
@@ -436,7 +436,7 @@ typedef enum __ns_cert_types {
* Inline versions of get/put short/long. Pointer is advanced.
*/
#define NS_GET16(s, cp) do { \
- register const u_char *t_cp = (const u_char *)(cp); \
+ const u_char *t_cp = (const u_char *)(cp); \
(s) = ((u_int16_t)t_cp[0] << 8) \
| ((u_int16_t)t_cp[1]) \
; \
@@ -444,7 +444,7 @@ typedef enum __ns_cert_types {
} while (/*CONSTCOND*/0)
#define NS_GET32(l, cp) do { \
- register const u_char *t_cp = (const u_char *)(cp); \
+ const u_char *t_cp = (const u_char *)(cp); \
(l) = ((u_int32_t)t_cp[0] << 24) \
| ((u_int32_t)t_cp[1] << 16) \
| ((u_int32_t)t_cp[2] << 8) \
@@ -454,16 +454,16 @@ typedef enum __ns_cert_types {
} while (/*CONSTCOND*/0)
#define NS_PUT16(s, cp) do { \
- register u_int32_t t_s = (u_int32_t)(s); \
- register u_char *t_cp = (u_char *)(cp); \
+ u_int32_t t_s = (u_int32_t)(s); \
+ u_char *t_cp = (u_char *)(cp); \
*t_cp++ = t_s >> 8; \
*t_cp = t_s; \
(cp) += NS_INT16SZ; \
} while (/*CONSTCOND*/0)
#define NS_PUT32(l, cp) do { \
- register u_int32_t t_l = (u_int32_t)(l); \
- register u_char *t_cp = (u_char *)(cp); \
+ u_int32_t t_l = (u_int32_t)(l); \
+ u_char *t_cp = (u_char *)(cp); \
*t_cp++ = t_l >> 24; \
*t_cp++ = t_l >> 16; \
*t_cp++ = t_l >> 8; \