From 3560d8be4b833e888e8386a3dc641fa164b4b808 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 22 Apr 2018 03:14:35 +0300 Subject: Add licence and copyright notice --- src/actionparser.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'src/actionparser.c') diff --git a/src/actionparser.c b/src/actionparser.c index cba732e..bfa4f5b 100644 --- a/src/actionparser.c +++ b/src/actionparser.c @@ -1,3 +1,18 @@ +/* actionparser.c - Action parser for ck -------------------------------*- C -*- + * + * This file is part of ck, the config keeper + * + * ----------------------------------------------------------------------------- + * + * Copyright (C) 2018 Anastasis Grammenos + * GPLv3 (see LICENCE for the full notice) + * + * ----------------------------------------------------------------------------- + * + * The following code is resposinble for parsing the command line arguments + * and report any errors that might come up. + * + * -------------------------------------------------------------------------- */ #define _GNU_SOURCE #include #include @@ -8,11 +23,6 @@ #include "actionparser.h" -/* -------------------------------------------------------------------------- - * The following code is resposinble for parsing the command line arguments - * and report any errors that might come up. - * -------------------------------------------------------------------------- */ - /* accepted commands */ /* [0] is the count */ const char* const strINIT[] = {"2", "init", "-i"}; -- cgit v1.2.3