From 49cf4ece205bf23c39c30a633a20e22260fc1706 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Dec 2013 17:33:20 +0100 Subject: [PATCH] journal: downgrade comments about sd_journal_print_with_location() Effectviely these calls are ABI anyway, so downgrade the comments a bit, since it might actually be useful for language bindings to make use of them. --- src/systemd/sd-journal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemd/sd-journal.h b/src/systemd/sd-journal.h index ae9b91a6f..cdd7c14a5 100644 --- a/src/systemd/sd-journal.h +++ b/src/systemd/sd-journal.h @@ -42,7 +42,7 @@ int sd_journal_send(const char *format, ...) _sd_printf_(1, 0) _sd_sentinel_; int sd_journal_sendv(const struct iovec *iov, int n); int sd_journal_perror(const char *message); -/* Used by the macros below. Don't call this directly. */ +/* Used by the macros below. You probably don't want to call this directly. */ int sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(5, 6); int sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) _sd_printf_(5, 0); int sd_journal_send_with_location(const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(4, 0) _sd_sentinel_; -- 2.30.2