From: Nick Bowler Date: Wed, 6 Jul 2011 23:51:39 +0000 (-0400) Subject: Add missing copyright headers. X-Git-Tag: v1~150 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/b9b5dfbb48617d5ae852b3bc11f7be3552d7ae38 Add missing copyright headers. --- diff --git a/Makefile.am b/Makefile.am index 87635f6..9ac2189 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,9 @@ +# Copyright © 2011 Nick Bowler +# +# License WTFPL2: Do What The Fuck You Want To Public License, version 2. +# This is free software: you are free to do what the fuck you want to. +# There is NO WARRANTY, to the extent permitted by law. + ACLOCAL_AMFLAGS = -I m4 SUBDIRS = lib . diff --git a/configure.ac b/configure.ac index 3718430..e749f53 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,9 @@ +dnl Copyright © 2011 Nick Bowler +dnl +dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2. +dnl This is free software: you are free to do what the fuck you want to. +dnl There is NO WARRANTY, to the extent permitted by law. + AC_PREREQ([2.68]) AC_INIT([cdecl99], [0.1], [nbowler@draconx.ca]) AC_CONFIG_HEADER([config.h]) diff --git a/src/cdecl.h b/src/cdecl.h index 95d7634..ffc01e3 100644 --- a/src/cdecl.h +++ b/src/cdecl.h @@ -1,3 +1,20 @@ +/* + * Copyright © 2011 Nick Bowler + * + * This program 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 program 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 program. If not, see . + */ + #ifndef CDECL_H_ #define CDECL_H_ diff --git a/src/cdecl99.c b/src/cdecl99.c index 639edea..23c3e5c 100644 --- a/src/cdecl99.c +++ b/src/cdecl99.c @@ -1,3 +1,20 @@ +/* + * Command line utility for making sense of C declarations. + * Copyright © 2011 Nick Bowler + * + * This program 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 program 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 program. If not, see . + */ #include #include #include diff --git a/src/explain.c b/src/explain.c index b0e9a84..1cb8602 100644 --- a/src/explain.c +++ b/src/explain.c @@ -1,3 +1,20 @@ +/* + * Render C declarations as English. + * Copyright © 2011 Nick Bowler + * + * This program 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 program 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 program. If not, see . + */ #include #include #include diff --git a/src/parse-decl.c b/src/parse-decl.c index 45ade35..bf70a60 100644 --- a/src/parse-decl.c +++ b/src/parse-decl.c @@ -1,3 +1,20 @@ +/* + * Parse and validate C declarations. + * Copyright © 2011 Nick Bowler + * + * This program 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 program 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 program. If not, see . + */ #include #include diff --git a/src/parse.y b/src/parse.y index 86091f9..ac8524c 100644 --- a/src/parse.y +++ b/src/parse.y @@ -1,3 +1,4 @@ +%code top { /* * Parser for C declarations. * Copyright © 2011 Nick Bowler @@ -15,6 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +} %parse-param {struct cdecl **out} %define api.pure diff --git a/src/typemap.c b/src/typemap.c index 599d2ca..cab18c8 100644 --- a/src/typemap.c +++ b/src/typemap.c @@ -1,3 +1,20 @@ +/* + * Helpers for dealing with type specifiers. + * Copyright © 2011 Nick Bowler + * + * This program 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 program 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 program. If not, see . + */ #include #include #include "cdecl.h"