From: Lennart Poettering Date: Fri, 13 Dec 2013 16:33:20 +0000 (+0100) Subject: journal: downgrade comments about sd_journal_print_with_location() X-Git-Tag: v209~938 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=49cf4ece205bf23c39c30a633a20e22260fc1706 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. --- 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_;