summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-16 16:26:41 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-16 16:26:41 +0200
commit706911fba8d071449848f02516eef117277ff48b (patch)
tree2d1ed9aa8a0f66bc5a9ab4516167106f80f45f4c /src/shared
parent37e2941d144f362c0585974939cf12ad01aa0258 (diff)
journal: don't export MESSAGE_ID() macro
If it is exported it would need to be prefixed, but since we need it exclusively internally so far, simply move it to an internal header.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/log.h b/src/shared/log.h
index c242cc219f..1bd9dbf27a 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -135,3 +135,5 @@ bool log_on_console(void);
const char *log_target_to_string(LogTarget target);
LogTarget log_target_from_string(const char *s);
+
+#define MESSAGE_ID(x) "MESSAGE_ID=" SD_ID128_FORMAT_STR, SD_ID128_FORMAT_VAL(x)