#ifndef GETSHORT
#define GETSHORT(s, cp) { \
- register u_char *t_cp = (u_char *)(cp); \
+ u_char *t_cp = (u_char *)(cp); \
(s) = ((u_int16_t)t_cp[0] << 8) \
| ((u_int16_t)t_cp[1]) \
; \
#ifndef GETLONG
#define GETLONG(l, cp) { \
- register u_char *t_cp = (u_char *)(cp); \
+ u_char *t_cp = (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) \
#ifndef HAVE__GETSHORT
static u_int16_t
-_getshort(msgp)
- register const u_char *msgp;
+_getshort(const u_char *msgp)
{
- register u_int16_t u;
+ u_int16_t u;
GETSHORT(u, msgp);
return (u);
}
#elif defined(HAVE_DECL__GETSHORT) && (HAVE_DECL__GETSHORT == 0)
-u_int16_t _getshort(register const u_char *);
+u_int16_t _getshort(const u_char *);
#endif
#ifndef HAVE__GETLONG
static u_int32_t
-_getlong(msgp)
- register const u_char *msgp;
+_getlong(const u_char *msgp)
{
- register u_int32_t u;
+ u_int32_t u;
GETLONG(u, msgp);
return (u);
}
#elif defined(HAVE_DECL__GETLONG) && (HAVE_DECL__GETLONG == 0)
-u_int32_t _getlong(register const u_char *);
+u_int32_t _getlong(const u_char *);
#endif
/* ************** */