summaryrefslogtreecommitdiff
path: root/gjs/error-types.cpp
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2020-09-05 20:58:03 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2020-10-04 16:36:09 -0700
commit04f7b61415df2db2507c5c657dedf15b11bcad8c (patch)
tree4e0e14ecbb88c26e1633857ff26623cc6017ee9f /gjs/error-types.cpp
parent96940915119d2185d010133fe592138c81bfbce9 (diff)
downloadgjs-04f7b61415df2db2507c5c657dedf15b11bcad8c.tar.gz
maint: Convert all existing license/copyright comments to SPDX format
The SPDX format is machine-readable, which should make it much easier to avoid mistakes with licensing and copyright using automated tools. This commit does not add any implicit information. It converts exactly what was already specified into SPDX format comments.
Diffstat (limited to 'gjs/error-types.cpp')
-rw-r--r--gjs/error-types.cpp23
1 files changed, 2 insertions, 21 deletions
diff --git a/gjs/error-types.cpp b/gjs/error-types.cpp
index 86cb8789..cdfd7fa3 100644
--- a/gjs/error-types.cpp
+++ b/gjs/error-types.cpp
@@ -1,25 +1,6 @@
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
-/*
- * Copyright (c) 2008 litl, LLC
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- */
+// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
#include <glib-object.h>