Fix qtypes' licenses
PATCH 1/1 Fix qtypes' licenses
- Change from GPL to LGPL
- Add license text when missing
- Minor cosmetic changes to make all headers look the same
Signed-off-by Luiz Capitulino <[email protected]>
--- check-qdict.c | 3 +++ check-qfloat.c | 5 ----- check-qint.c | 3 +++ check-qlist.c | 4 ++-- check-qstring.c | 3 +++ qbool.c | 8 -------- qdict.c | 6 +++--- qdict.h | 12 ++++++++++++ qemu-objects.h | 5 +++-- qerror.c | 2 +- qerror.h | 2 +- qfloat.c | 8 -------- qint.c | 7 ++++--- qint.h | 12 ++++++++++++ qlist.c | 7 ++++--- qlist.h | 7 ++++--- qobject.h | 4 ++-- qstring.c | 7 ++++--- qstring.h | 12 ++++++++++++ 19 files changed, 73 insertions(+), 44 deletions(-)
check-qdict.c +3 -0
@@ -5,6 +5,9 @@* * Authors: * Luiz Capitulino <[email protected]> +* +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ #include <check.h>
check-qfloat.c +0 -5
@@ -1,11 +1,6 @@/* * QFloat unit-tests. * -* Copyright (C) 2009 Red Hat Inc. -* -* Authors: -* Luiz Capitulino <[email protected]> -* * Copyright IBM, Corp. 2009 * * Authors:
check-qint.c +3 -0
@@ -5,6 +5,9 @@* * Authors: * Luiz Capitulino <[email protected]> +* +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ #include <check.h>
check-qlist.c +2 -2
@@ -6,8 +6,8 @@* Authors: * Luiz Capitulino <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ #include <check.h>
check-qstring.c +3 -0
@@ -5,6 +5,9 @@* * Authors: * Luiz Capitulino <[email protected]> +* +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ #include <check.h>
qbool.c +0 -8
@@ -1,14 +1,6 @@/* * QBool Module * -* Copyright (C) 2009 Red Hat Inc. -* -* Authors: -* Luiz Capitulino <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * Copyright IBM, Corp. 2009 * * Authors:
qdict.c +3 -3
@@ -1,13 +1,13 @@/* -* QDict data type. +* QDict Module * * Copyright (C) 2009 Red Hat Inc. * * Authors: * Luiz Capitulino <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ #include "qint.h"
qdict.h +12 -0
@@ -1,3 +1,15 @@ +/* +* QDict Module +* +* Copyright (C) 2009 Red Hat Inc. +* +* Authors: +* Luiz Capitulino <[email protected]> +* +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. +*/ +#ifndef QDICT_H #define QDICT_H
qemu-objects.h +3 -2
@@ -6,9 +6,10 @@* Authors: * Luiz Capitulino <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ +#ifndef QEMU_OBJECTS_H #define QEMU_OBJECTS_H
qerror.c +1 -1
@@ -1,5 +1,5 @@/* -* QError: QEMU Error data-type. +* QError Module * * Copyright (C) 2009 Red Hat Inc. *
qerror.h +1 -1
@@ -1,5 +1,5 @@/* -* QError header file. +* QError Module * * Copyright (C) 2009 Red Hat Inc. *
qfloat.c +0 -8
@@ -1,14 +1,6 @@/* * QFloat Module * -* Copyright (C) 2009 Red Hat Inc. -* -* Authors: -* Luiz Capitulino <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * Copyright IBM, Corp. 2009 * * Authors:
qint.c +4 -3
@@ -1,14 +1,15 @@/* -* QInt data type. +* QInt Module * * Copyright (C) 2009 Red Hat Inc. * * Authors: * Luiz Capitulino <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ +#include "qint.h" #include "qobject.h" #include "qemu-common.h"
qint.h +12 -0
@@ -1,3 +1,15 @@ +/* +* QInt Module +* +* Copyright (C) 2009 Red Hat Inc. +* +* Authors: +* Luiz Capitulino <[email protected]> +* +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. +*/ +#ifndef QINT_H #define QINT_H
qlist.c +4 -3
@@ -1,14 +1,15 @@/* -* QList data type. +* QList Module * * Copyright (C) 2009 Red Hat Inc. * * Authors: * Luiz Capitulino <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ +#include "qlist.h" #include "qobject.h" #include "qemu-queue.h"
qlist.h +4 -3
@@ -1,14 +1,15 @@/* -* QList data type header. +* QList Module * * Copyright (C) 2009 Red Hat Inc. * * Authors: * Luiz Capitulino <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ +#ifndef QLIST_H #define QLIST_H
qobject.h +2 -2
@@ -8,8 +8,8 @@* Authors: * Luiz Capitulino <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. * * QObject Reference Counts Terminology * ------------------------------------
qstring.c +4 -3
@@ -1,14 +1,15 @@/* -* QString data type. +* QString Module * * Copyright (C) 2009 Red Hat Inc. * * Authors: * Luiz Capitulino <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. */ +#include "qobject.h" #include "qstring.h" #include "qemu-common.h"
qstring.h +12 -0
@@ -1,3 +1,15 @@ +/* +* QString Module +* +* Copyright (C) 2009 Red Hat Inc. +* +* Authors: +* Luiz Capitulino <[email protected]> +* +* This work is licensed under the terms of the GNU LGPL, version 2.1 or later. +* See the COPYING.LIB file in the top-level directory. +*/ +#ifndef QSTRING_H #define QSTRING_H
Signature · 1 line
1.7.1.11.g3bf78