chiark / gitweb /
Prep v238: Uncomment now needed headers and unmask now needed functions in src/shared...
authorSven Eden <yamakuzure@gmx.net>
Tue, 5 Jun 2018 17:08:31 +0000 (19:08 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 5 Jun 2018 17:08:54 +0000 (19:08 +0200)
src/shared/conf-parser.c
src/shared/conf-parser.h
src/shared/musl_missing.c

index 3d12baf2d18cea1ba42306c092cb95a3f69c900a..252a2a0423c81e2cac2df2be0d6ea6581db07e6a 100644 (file)
@@ -1038,7 +1038,6 @@ int config_parse_ip_port(
 
         return 0;
 }
-#endif // 0
 
 int config_parse_join_controllers(
                 const char *unit,
@@ -1155,3 +1154,4 @@ int config_parse_join_controllers(
 
         return 0;
 }
+#endif // 0
index 8555ddb158b84bc9cee0b542766104e6da98b909..776fc844b45ff333fb6ffceb444f601a46352d67 100644 (file)
@@ -171,7 +171,9 @@ int config_parse_signal(GENERIC_PARSER_ARGS);
 int config_parse_personality(GENERIC_PARSER_ARGS);
 int config_parse_ifname(GENERIC_PARSER_ARGS);
 int config_parse_ip_port(GENERIC_PARSER_ARGS);
+#if 0 /// UNNEEDED by elogind
 int config_parse_join_controllers(GENERIC_PARSER_ARGS);
+#endif // 0
 
 #define DEFINE_CONFIG_PARSE_ENUM(function,name,type,msg)                \
         int function(GENERIC_PARSER_ARGS) {                             \
index 5ce787bebf18cf5b4de3d5bb005642a17b668903..e089367f2db846307f0c912a7f303493f3c21982 100644 (file)
@@ -1,4 +1,26 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+/***
+  This file is part of elogind.
+
+  Copyright 2017 Sven Eden
+
+  elogind 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.
+
+  elogind 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 elogind; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+#include <errno.h>
 #include <string.h>
+
 #include "alloc-util.h"
 
 #ifndef __GLIBC__