diff options
Diffstat (limited to 'src/shared/output-mode.h')
-rw-r--r-- | src/shared/output-mode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/output-mode.h b/src/shared/output-mode.h index 8683f573af..5079b84658 100644 --- a/src/shared/output-mode.h +++ b/src/shared/output-mode.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -#include "json.h" +#include "sd-json.h" #include "macro.h" typedef enum OutputMode { @@ -51,7 +51,7 @@ typedef enum OutputFlags { OUTPUT_CGROUP_ID = 1 << 11, } OutputFlags; -JsonFormatFlags output_mode_to_json_format_flags(OutputMode m); +sd_json_format_flags_t output_mode_to_json_format_flags(OutputMode m); const char* output_mode_to_string(OutputMode m) _const_; OutputMode output_mode_from_string(const char *s) _pure_; |