aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/argparser.c4
-rw-r--r--src/argparser.h21
2 files changed, 22 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <stdarg.h>
+#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 <http://www.gnu.org/licenses/>.
+ */
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdarg.h>