chiark / gitweb /
tree-wide: remove Lennart's copyright lines
[elogind.git] / src / basic / unit-name.h
index 3515fad4ce3fb513ca2b92eccee11c19d08c4f41..a9a2923fd60014a928480baf13c4e599f521a5d2 100644 (file)
@@ -1,12 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
-/***
-  This file is part of systemd.
-
-  Copyright 2010 Lennart Poettering
-***/
-
 #include <stdbool.h>
 
 #include "macro.h"
@@ -46,6 +40,7 @@ int unit_name_change_suffix(const char *n, const char *suffix, char **ret);
 #endif // 0
 
 int unit_name_build(const char *prefix, const char *instance, const char *suffix, char **ret);
+int unit_name_build_from_type(const char *prefix, const char *instance, UnitType, char **ret);
 
 #if 0 /// UNNEEDED by elogind
 char *unit_name_escape(const char *f);