-/*
- * getcanon.c - Print the canonical name of a host, default to localhost.
+/* getcanon.c - Print the canonical name of a host, default to localhost.
*
* This code is Copyright (c) 2012, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
* complete copyright information.
*/
-#include <netdb.h> /* for getaddrinfo */
+#include <netdb.h>
#include <sys/socket.h>
#include <sys/types.h>
-#include <unistd.h> /* for gethostname */
-#include <limits.h> /* for _POSIX_HOST_NAME_MAX */
-#include <string.h> /* for memset */
+#include <unistd.h>
+#include <limits.h>
+#include <string.h>
#include <stdio.h>
#include <errno.h>