Reformat .h files.
I did my best to exempt some of the bigger aligned blocks from the reformatting using the /* clang-format off */ and /* clang-format on */ tags. Probably some that shouldn't have been formatted were anyway; if you encounter them, please fix. The clang-format tags were left in on the basis that it's much easier to prune those out later than to put them back in, and it means that, modulo my custom version of clang-format, I should be able to run clang-format on the source tree again without changing anything, now that Pat has fixed the VA_DECL issues.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
#define index strchr
|
||||
#define rindex strrchr
|
||||
#define Rand rand /* Be should have a better rand function! */
|
||||
#define Rand rand /* Be should have a better rand function! */
|
||||
#define tgetch getchar
|
||||
#define FCMASK 0666
|
||||
#define PORT_ID "BeOS"
|
||||
@@ -23,13 +23,12 @@
|
||||
#define POSIX_TYPES
|
||||
#define SIG_RET_TYPE __signal_func_ptr
|
||||
|
||||
#include <time.h> /* for time_t */
|
||||
#include <unistd.h> /* for lseek() */
|
||||
#include <time.h> /* for time_t */
|
||||
#include <unistd.h> /* for lseek() */
|
||||
|
||||
/* could go in extern.h, under bemain.c (or something..) */
|
||||
void regularize(char *);
|
||||
|
||||
|
||||
/* instead of including system.h... */
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user