summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/logs-show.h')
-rw-r--r--src/shared/logs-show.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h
index 3e6b6e0f64..ea0f51fbf0 100644
--- a/src/shared/logs-show.h
+++ b/src/shared/logs-show.h
@@ -47,10 +47,15 @@ typedef enum OutputFlags {
OUTPUT_COLOR = 1 << 4
} OutputFlags;
-int output_journal(sd_journal *j, OutputMode mode, unsigned line,
- unsigned n_columns, OutputFlags flags);
+int output_journal(
+ FILE *f,
+ sd_journal *j,
+ OutputMode mode,
+ unsigned n_columns,
+ OutputFlags flags);
int show_journal_by_unit(
+ FILE *f,
const char *unit,
OutputMode mode,
unsigned n_columns,