From 225c4edb8a20b56d404a14050a8770801dac2976 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 26 Jun 2013 01:11:54 +0200 Subject: move includes into new .h file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/argparser.c | 4 +--- src/argparser.h | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 src/argparser.h diff --git a/src/argparser.c b/src/argparser.c index 37180d4..fcf6edd 100644 --- a/src/argparser.c +++ b/src/argparser.c @@ -16,9 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this library. If not, see . */ -#include -#include -#include +#include "argparser.h" /* Code style constants */ diff --git a/src/argparser.h b/src/argparser.h new file mode 100644 index 0000000..288c585 --- /dev/null +++ b/src/argparser.h @@ -0,0 +1,21 @@ +/** + * argparser – command line argument parser library + * + * Copyright © 2013 Mattias Andrée (maandree@member.fsf.org) + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this library. If not, see . + */ +#include +#include +#include -- cgit v1.2.3-70-g09d2