add copyright headers
This commit is contained in:
19
lib/dice.c
19
lib/dice.c
@@ -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"
|
||||
|
||||
|
||||
19
lib/dice.h
19
lib/dice.h
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user