mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
006265d7a0
commit
76e6420f6b
114 changed files with 4370 additions and 3717 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue