From 48a686a6d92ceb397b5d436e138c2b647d5bf562 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 13 Mar 2025 00:26:01 +0000 Subject: api: fix license headers in MM API The libmm-glib library, as well as the ModemManager headers installed as part of the D-Bus service API, have always been LGPLv2+ licensed, because we want users of the service to rely on them in their own programs, even if they are proprietary. Some files had an incorrect GPLv2+ header instead of the LGPLv2+ and that was confusing. All public headers in the MM API have the correct license text now. Signed-off-by: Aleksander Morgado --- include/ModemManager-errors.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'include/ModemManager-errors.h') diff --git a/include/ModemManager-errors.h b/include/ModemManager-errors.h index 4a7c5ce7..572b8a00 100644 --- a/include/ModemManager-errors.h +++ b/include/ModemManager-errors.h @@ -1,14 +1,21 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * 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. + * ModemManager Interface Specification * - * This program is distributed in the hope that it will be useful, + * This library 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 2 of the License, or (at your option) any later version. + * + * This library 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: + * 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 this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. * * Copyright (C) 2011 Red Hat, Inc. * Copyright (C) 2011 Google, Inc. -- cgit v1.2.3-70-g09d2