summaryrefslogtreecommitdiff
path: root/src/shared/output-mode.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-20 19:37:46 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-22 16:16:59 +0200
commit766cd081525575875dd1291d4de0e65bcb5e1a89 (patch)
tree3b329618552e0d0a8fb8a8b0cc19b6ba1333f09b /src/shared/output-mode.h
parent03532f0ae0fae40f9f04091340e2bf156d0ec21a (diff)
shared: move output_mode_to_string() into output-mode.c
After all, the enum definition is in output-mode.h
Diffstat (limited to 'src/shared/output-mode.h')
-rw-r--r--src/shared/output-mode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/output-mode.h b/src/shared/output-mode.h
index e2b26e04d3..ea2e95f06b 100644
--- a/src/shared/output-mode.h
+++ b/src/shared/output-mode.h
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "macro.h"
+
typedef enum OutputMode {
OUTPUT_SHORT,
OUTPUT_SHORT_ISO,
@@ -48,3 +50,6 @@ typedef enum OutputFlags {
OUTPUT_UTC = 1 << 7,
OUTPUT_KERNEL_THREADS = 1 << 8,
} OutputFlags;
+
+const char* output_mode_to_string(OutputMode m) _const_;
+OutputMode output_mode_from_string(const char *s) _pure_;