chiark / gitweb /
tree-wide: beautify remaining copyright statements
[elogind.git] / src / test / test-hashmap-plain.c
index 0471cd2f2f42c498227b62f55511e694c0143aa9..47e689749b536837553bdd370a8110fefbacab52 100644 (file)
@@ -1,20 +1,6 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
-  This file is part of systemd
-
-  Copyright 2013 Daniel Buch
-
-  systemd 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.
-
-  systemd 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
-  Lesser General Public License for more details.
-
-  You should have received a copy of the GNU Lesser General Public License
-  along with systemd; If not, see <http://www.gnu.org/licenses/>.
+  Copyright © 2013 Daniel Buch
 ***/
 
 #include "alloc-util.h"
@@ -903,13 +889,17 @@ static void test_hashmap_reserve(void) {
 }
 
 void test_hashmap_funcs(void) {
+#if 0 /// UNNEEDED by elogind
         int r;
+#endif // 0
 
         log_parse_environment();
         log_open();
 
+#if 0 /// UNNEEDED by elogind
         r = getenv_bool("SYSTEMD_SLOW_TESTS");
         arg_slow = r >= 0 ? r : SYSTEMD_SLOW_TESTS_DEFAULT;
+#endif // 0
 
         test_hashmap_copy();
         test_hashmap_get_strv();