summaryrefslogtreecommitdiffstats
path: root/common/hush.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-11-26 18:55:53 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-11-27 09:54:18 +0100
commitfb244def400853e5b41c327e5cb02d6d34be2397 (patch)
tree37ab9cf2e95cd19fbb28c32c8ba51902bc67d091 /common/hush.c
parent8266bfaa7109cf00faaf7149c483e4363800d54e (diff)
downloadbarebox-fb244def400853e5b41c327e5cb02d6d34be2397.tar.gz
barebox-fb244def400853e5b41c327e5cb02d6d34be2397.tar.xz
common: replace license statements with SPDX-License-Identifiers
For all files in common/ that already have a license text: - Replace with appropriate SPDX-License-Identifier - Remove empty comment lines around replacement - remove comment completely if only thing remaining is name of file without description Reviewed-by: Roland Hieber <rhi@pengutronix.de> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/hush.c')
-rw-r--r--common/hush.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/common/hush.c b/common/hush.c
index ec0d5129b7..8a55eaec6a 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/* vi: set sw=8 ts=8: */
/*
* hush.c -- a prototype Bourne shell grammar parser
@@ -94,19 +95,6 @@
*
*/
-/*
- * 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.
- *
- * 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.
- *
- */
-
#define pr_fmt(fmt) "hush: " fmt
#include <malloc.h> /* malloc, free, realloc*/