summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-09 11:18:22 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-09 11:18:22 +0200
commit618a6e6e3dad6d879cb6b8ba4b291d48610f1d14 (patch)
tree3becdcb4da5b12d41c470ce9d9da09e95bce6552
parent3f1169bc2c22e02b5713eb9b05ff31ce4386d6f1 (diff)
Remove Doxyfile (not really useful for a single program)
-rw-r--r--.gitignore1
-rw-r--r--Doxyfile17
-rw-r--r--src/host.c13
3 files changed, 0 insertions, 31 deletions
diff --git a/.gitignore b/.gitignore
index fbd5a69..ae3c172 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
/bin/
-/doc/
diff --git a/Doxyfile b/Doxyfile
deleted file mode 100644
index ae2f70e..0000000
--- a/Doxyfile
+++ /dev/null
@@ -1,17 +0,0 @@
-PROJECT_NAME = host
-
-INPUT = src
-OUTPUT_DIRECTORY = doc
-
-OPTIMIZE_OUTPUT_FOR_C = YES
-
-EXTRACT_ALL = YES
-EXTRACT_STATIC = YES
-TAB_SIZE = 4
-
-GENERATE_HTML = YES
-GENERATE_LATEX = NO
-GENERATE_MAN = YES
-GENERATE_RTF = NO
-GENERATE_XML = NO
-GENERATE_QHP = NO
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) {