summaryrefslogtreecommitdiff
path: root/src/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host.c')
-rw-r--r--src/host.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/host.c b/src/host.c
index 60ddb58..c15ef18 100644
--- a/src/host.c
+++ b/src/host.c
@@ -12,22 +12,9 @@
#include <sys/socket.h>
#include <netdb.h>
-/**
- * \brief Print some usage information
- */
-
#define PRINT_USAGE \
fprintf(stderr, "Usage: %s [-46r] <hostname>\n", argv[0])
-/**
- * \brief convert addrinfo to simple IP address
- *
- * \param address addrinfo struct containing the IP
- * \param ip string for the resulting IP
- * \param length length of ip
- * \return 0 on failure, 1 on success
- */
-
static inline int addr_to_ip(const struct addrinfo *address, char *ip, int length) {
void *ptr;
switch (address->ai_family) {