summaryrefslogtreecommitdiffstats
path: root/src/expr/hash.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-10-16 18:47:32 +0200
committerPhil Sutter <phil@nwl.cc>2024-10-30 12:51:17 +0100
commite944a0afbc21a6baa73544f74a8c7525fd127c28 (patch)
tree15280ba0acbabee152e6cee5762d0de3c85421a3 /src/expr/hash.c
parent0576274ad54a3aae2750e7a49bed1e0f406b61cc (diff)
Use SPDX License Identifiers in headers
Replace the copyright notice in header comments by an equivalent SPDX-License-Identifier string. Drop a following empty line if at the bottom of the comment. Leave any other header comment content in place. This also fixes for an incomplete notice in examples/nft-ruleset-get.c since commit c335442eefcca ("src: incorrect header refers to GPLv2 only"). Signed-off-by: Phil Sutter <phil@nwl.cc> Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr/hash.c')
-rw-r--r--src/expr/hash.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/expr/hash.c b/src/expr/hash.c
index eb44b2e..050e4b9 100644
--- a/src/expr/hash.c
+++ b/src/expr/hash.c
@@ -1,11 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* (C) 2016 by Laura Garcia <nevola@gmail.com>
- *
- * 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.
- *
*/
#include <stdio.h>