diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2013-12-26 12:14:55 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2014-01-18 13:44:36 +0100 |
commit | 5e7842a056f7e99faadc68857a34f4f7cd307898 (patch) | |
tree | 322e47e8b0b84fe5ca26cbd88eeaa9c2b0a0e6e0 | |
parent | 6777f668d8aaf178bcbdd23bb7ecb742be3ffcc7 (diff) |
rb: add a header mentionning the GPL license in every source file
-rw-r--r-- | Makefile | 16 | ||||
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | rb.h | 18 | ||||
-rw-r--r-- | rb_str.h | 18 | ||||
-rw-r--r-- | src/rb.c | 18 | ||||
-rw-r--r-- | src/rb_str.c | 18 |
6 files changed, 91 insertions, 0 deletions
@@ -1,3 +1,19 @@ +# Copyright (C) 2013 Olivier Gayot +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + CC ?= gcc CFLAGS += -W -Wall -std=c99 -Wextra CFLAGS += -I./ @@ -2,3 +2,6 @@ ring_buffer =========== A ready to use library meant to deal with ring buffers. + +This library is free software covered by the GPL license v2. You should +read the LICENSE file to understand what is implied. @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2013 Olivier Gayot + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef RING_BUFFER_H #define RING_BUFFER_H @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2013 Olivier Gayot + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef RB_STR_H #define RB_STR_H @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2013 Olivier Gayot + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <stdlib.h> #include <string.h> diff --git a/src/rb_str.c b/src/rb_str.c index f6b3878..13b911d 100644 --- a/src/rb_str.c +++ b/src/rb_str.c @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2013 Olivier Gayot + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <malloc.h> #include "rb_str.h" |