summaryrefslogtreecommitdiffstats
path: root/dyndhcpd.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-21 14:16:34 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-10-21 14:16:34 +0200
commit933e8e34e2f328926e207be38a2c6441d9b9953a (patch)
treecf9442a4dafba0d42dcfff51e29542bbd5fd1e90 /dyndhcpd.c
parentbc608737924c3c87d328b26654a16c7adc01bf4d (diff)
downloaddyndhcpd-933e8e34e2f328926e207be38a2c6441d9b9953a.tar.gz
dyndhcpd-933e8e34e2f328926e207be38a2c6441d9b9953a.tar.zst
introduce dyndhcpd.h
Diffstat (limited to 'dyndhcpd.c')
-rw-r--r--dyndhcpd.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/dyndhcpd.c b/dyndhcpd.c
index 16b4941..49831be 100644
--- a/dyndhcpd.c
+++ b/dyndhcpd.c
@@ -3,25 +3,9 @@
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
- *
- * This is an example code skeleton provided by vim-skeleton.
*/
-#define _GNU_SOURCE
-
-#include <arpa/inet.h>
-#include <sys/socket.h>
-#include <net/if.h>
-#include <netdb.h>
-#include <ifaddrs.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
-#include <getopt.h>
-
-#include "config.h"
-#include "version.h"
+#include "dyndhcpd.h"
const static char optstring[] = "c:hi:v";
const static struct option options_long[] = {