chiark / gitweb /
journal: downgrade comments about sd_journal_print_with_location()
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Dec 2013 16:33:20 +0000 (17:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Dec 2013 16:33:20 +0000 (17:33 +0100)
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

index ae9b91a6f9f028e5093593c1a21ebfde7d803300..cdd7c14a579a04c97b9fb2e5596cf28f3614687c 100644 (file)
@@ -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_;