clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: Ic5fd073faa7391d3f0b37787d6a9c7688c9a3253
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/message/payload.cpp b/test/message/payload.cpp
index 5931694..0114e11 100644
--- a/test/message/payload.cpp
+++ b/test/message/payload.cpp
@@ -317,20 +317,18 @@
extern "C"
{
- int sd_journal_send(const char* format, ...)
- {
- logs.push_back(format);
- return 0;
- }
+int sd_journal_send(const char* format, ...)
+{
+ logs.push_back(format);
+ return 0;
+}
- int sd_journal_send_with_location(const char* /*file*/,
- const char* /*line*/,
- const char* /*func*/, const char* format,
- ...)
- {
- logs.push_back(format);
- return 0;
- }
+int sd_journal_send_with_location(const char* /*file*/, const char* /*line*/,
+ const char* /*func*/, const char* format, ...)
+{
+ logs.push_back(format);
+ return 0;
+}
}
class PayloadLogging : public testing::Test