From 933e8e34e2f328926e207be38a2c6441d9b9953a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 21 Oct 2014 14:16:34 +0200 Subject: introduce dyndhcpd.h --- dyndhcpd.c | 18 +----------------- dyndhcpd.h | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 17 deletions(-) create mode 100644 dyndhcpd.h 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 -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "config.h" -#include "version.h" +#include "dyndhcpd.h" const static char optstring[] = "c:hi:v"; const static struct option options_long[] = { diff --git a/dyndhcpd.h b/dyndhcpd.h new file mode 100644 index 0000000..e978243 --- /dev/null +++ b/dyndhcpd.h @@ -0,0 +1,29 @@ +/* + * (C) 2013-2014 by Christian Hesse + * + * This software may be used and distributed according to the terms + * of the GNU General Public License, incorporated herein by reference. + */ + +#ifndef _DYNDHCPD_H +#define _DYNDHCPD_H + +#define _GNU_SOURCE + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "config.h" +#include "version.h" + +#endif /* _DYNDHCPD_H */ + +// vim: set syntax=c: -- cgit v1.2.3-54-g00ecf