#ifndef lint
static char *rcsid_fixhost_c = "$Header$";
-#endif lint
+#endif
#include <mit-copyright.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
+#include <stdlib.h>
#ifdef POSIX
#include <sys/utsname.h>
#endif
#include <ctype.h>
#include <moira.h>
-extern char *malloc();
-extern char *realloc();
-
/*
* Canonicalize hostname:
* if it is in double-quotes, then strip the quotes and return the name.