aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mbsalign.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2023-06-20 12:52:35 +0200
committerKarel Zak <kzak@redhat.com>2023-06-20 12:52:35 +0200
commit79feaa6022453d3c62ddf8396d4b6475344a46a3 (patch)
treeef62791c72f8ba06efeab05bb9caa78c8c1a3553 /lib/mbsalign.c
parent278f76ae88807eec5c202d44cd3ecdb8b201347b (diff)
downloadutil-linux-79feaa6022453d3c62ddf8396d4b6475344a46a3.tar.gz
lib/ include/: cleanup licence headers
This patch does not change any license of the affected files. Changes: * add missing SPDX-License-Identifier lines for LGPL * copy missing license lines from code (lib/) to header files (include/) * use the same comment formatting Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/mbsalign.c')
-rw-r--r--lib/mbsalign.c31
1 files changed, 13 insertions, 18 deletions
diff --git a/lib/mbsalign.c b/lib/mbsalign.c
index fbb6f157e2..7b8f5a665d 100644
--- a/lib/mbsalign.c
+++ b/lib/mbsalign.c
@@ -1,21 +1,16 @@
-/* Align/Truncate a string in a given screen width
- Copyright (C) 2009-2010 Free Software Foundation, Inc.
-
- This program 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.1 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, see <http://www.gnu.org/licenses/>. */
-
-/* Written by Pádraig Brady. */
-
+/*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * Align/Truncate a string in a given screen width
+ * Copyright (C) 2009-2010 Free Software Foundation, Inc.
+ *
+ * This program 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.1 of the License, or (at your
+ * option) any later version.
+ *
+ * Written by Pádraig Brady.
+ */
#include <stdlib.h>
#include <string.h>
#include <stdio.h>