add copyright headers

This commit is contained in:
2018-02-17 11:27:15 +01:00
parent 62eca29932
commit 6163518c4c
7 changed files with 205 additions and 1 deletions

View File

@@ -1,3 +1,22 @@
/*
* This file is part of libdice.
*
* Copyright (C) 2018 Florian Stinglmayr <florian@n0la.org>
*
* libdice is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* libdice 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with libdice. If not, see <http://www.gnu.org/licenses/>.
*/
#include "dice.h"
#include "dice_parse.h"

View File

@@ -1,3 +1,22 @@
/*
* This file is part of libdice.
*
* Copyright (C) 2018 Florian Stinglmayr <florian@n0la.org>
*
* libdice is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* libdice 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with libdice. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIBDICE_DICE_H
#define LIBDICE_DICE_H

View File

@@ -705,11 +705,13 @@ static void pn (const te_expr *n, int depth) {
}
}
static void te_print(const te_expr *n) {
pn(n, 0);
}
/* libdice specific functions
*/
struct dice_expression_
{
te_expr *expr;