summaryrefslogtreecommitdiffstats
path: root/membuffer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
commit76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch)
tree8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /membuffer.h
parent006265d7a088cff4fea665159dbb454956c2cd76 (diff)
downloadsubsurface-76e6420f6b3503b76bd3eec00ab0e53d6ea17a20.tar.gz
Massive automated whitespace cleanup
I know everyone will hate it. Go ahead. Complain. Call me names. At least now things are consistent and reproducible. If you want changes, have your complaint come with a patch to scripts/whitespace.pl so that we can automate it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'membuffer.h')
-rw-r--r--membuffer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/membuffer.h b/membuffer.h
index 17cfe6e8c..2a6ddc7f5 100644
--- a/membuffer.h
+++ b/membuffer.h
@@ -13,9 +13,9 @@ struct membuffer {
};
#ifdef __GNUC__
-#define __printf(x,y) __attribute__ ((__format__ (__printf__, x, y)))
+#define __printf(x, y) __attribute__((__format__(__printf__, x, y)))
#else
-#define __printf(x,y)
+#define __printf(x, y)
#endif
extern void free_buffer(struct membuffer *);
@@ -23,8 +23,8 @@ extern void flush_buffer(struct membuffer *, FILE *);
extern void put_bytes(struct membuffer *, const char *, int);
extern void put_string(struct membuffer *, const char *);
extern void strip_mb(struct membuffer *);
-extern __printf(2,0) void put_vformat(struct membuffer *, const char *, va_list);
-extern __printf(2,3) void put_format(struct membuffer *, const char *fmt, ...);
+extern __printf(2, 0) void put_vformat(struct membuffer *, const char *, va_list);
+extern __printf(2, 3) void put_format(struct membuffer *, const char *fmt, ...);
/* Output one of our "milli" values with type and pre/post data */
extern void put_milli(struct membuffer *, const char *, int, const char *);