Wrap the source code at 80 characters.
Align the backslashes in NOT_IMPLEMENTED_ON_WINDOWS().
Note: I can't even build-test this.
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2172516
Signed-off-by: Laszlo Ersek <lersek(a)redhat.com>
---
common/utils/windows-compat.h | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/common/utils/windows-compat.h b/common/utils/windows-compat.h
index c334256e3952..1111a1b5f4fc 100644
--- a/common/utils/windows-compat.h
+++ b/common/utils/windows-compat.h
@@ -132,12 +132,13 @@ extern int win_send (int fd, const void *buf, size_t len, int
flags);
* Note: Don't use this for things which can never work on Windows
* (eg. Unix socket support). Those should just give regular errors.
*/
-#define NOT_IMPLEMENTED_ON_WINDOWS(feature) \
- do { \
+#define NOT_IMPLEMENTED_ON_WINDOWS(feature) \
+ do { \
fprintf (stderr, "nbdkit: %s is not implemented for Windows.\n", feature);
\
- fprintf (stderr, "You can help by contributing to the Windows port,
see\n"); \
- fprintf (stderr, "nbdkit README in the source for how to contribute.\n");
\
- exit (EXIT_FAILURE); \
+ fprintf (stderr, "You can help by contributing to the Windows port,\n");
\
+ fprintf (stderr, "see nbdkit README in the source for how to\n");
\
+ fprintf (stderr, "contribute.\n");
\
+ exit (EXIT_FAILURE); \
} while (0)
#else /* !WIN32 */