summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-03-04 03:14:40 +0000
committerJim Meyering <jim@meyering.net>2001-03-04 03:14:40 +0000
commit8625974643000b7187de999f4f3ba453c4013404 (patch)
treec4522facef216aadf6f7b4ced562b8b6d93499c2 /src
parentbe6df5151fd66e6fd404e5d98c6fb8973986a4a4 (diff)
downloadcoreutils-8625974643000b7187de999f4f3ba453c4013404.tar.xz
(output_char): Reformat so each statement is on a separate line.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/dd.c b/src/dd.c
index 2c334a134..739f2a658 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -57,10 +57,14 @@
+ ROUND_UP_OFFSET ((char *)(Ptr) - (char *)0, (M)))
#define max(a, b) ((a) > (b) ? (a) : (b))
-#define output_char(c) \
- do { \
- obuf[oc++] = (c); if (oc >= output_blocksize) write_output (); \
- } while (0)
+#define output_char(c) \
+ do \
+ { \
+ obuf[oc++] = (c); \
+ if (oc >= output_blocksize) \
+ write_output (); \
+ } \
+ while (0)
/* Default input and output blocksize. */
#define DEFAULT_BLOCKSIZE 512