char *canonicalize_hostname(char *host)
{
- register struct hostent *hp;
+ struct hostent *hp;
int n_len;
int has_dot = 0;
char tbuf[BUFSIZ];
struct utsname name;
- register char *cp;
+ char *cp;
if (strlen(host) > 2 && host[0] == '"' && host[strlen(host) - 1] == '"')
{
/* can't get name from nameserver; fix up the format a bit */
for (cp = host; *cp; cp++)
{
- register int c; /* pcc doesn't like register char */
+ int c;
if (islower(c = *cp))
*cp = toupper(c);
has_dot |= (c == '.');