aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-errors.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@google.com>2025-03-13 00:26:01 +0000
committerAleksander Morgado <aleksandermj@google.com>2025-03-13 00:35:24 +0000
commit48a686a6d92ceb397b5d436e138c2b647d5bf562 (patch)
tree71cdf97fea66995148792a343e5dd87e470fd469 /include/ModemManager-errors.h
parente95336d106c9678433147307f80abe8810ae59bd (diff)
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 <aleksandermj@chromium.org>
Diffstat (limited to 'include/ModemManager-errors.h')
-rw-r--r--include/ModemManager-errors.h21
1 files changed, 14 insertions, 7 deletions
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.