mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@ -93,7 +93,7 @@ static struct pg_tm *gmtsub(pg_time_t const *, int32, struct pg_tm *);
|
||||
static bool increment_overflow(int *, int);
|
||||
static bool increment_overflow_time(pg_time_t *, int32);
|
||||
static struct pg_tm *timesub(pg_time_t const *, int32, struct state const *,
|
||||
struct pg_tm *);
|
||||
struct pg_tm *);
|
||||
static bool typesequiv(struct state const *, int, int);
|
||||
|
||||
|
||||
|
@ -32,8 +32,8 @@ pg_tz *log_timezone = NULL;
|
||||
|
||||
|
||||
static bool scan_directory_ci(const char *dirname,
|
||||
const char *fname, int fnamelen,
|
||||
char *canonname, int canonnamelen);
|
||||
const char *fname, int fnamelen,
|
||||
char *canonname, int canonnamelen);
|
||||
|
||||
|
||||
/*
|
||||
|
@ -74,8 +74,8 @@ struct pg_tz
|
||||
extern int pg_open_tzfile(const char *name, char *canonname);
|
||||
|
||||
/* in localtime.c */
|
||||
extern int tzload(const char *name, char *canonname, struct state *sp,
|
||||
bool doextend);
|
||||
extern int tzload(const char *name, char *canonname, struct state *sp,
|
||||
bool doextend);
|
||||
extern bool tzparse(const char *name, struct state *sp, bool lastditch);
|
||||
|
||||
#endif /* _PGTZ_H */
|
||||
|
@ -114,7 +114,7 @@ enum warn
|
||||
static char *_add(const char *, char *, const char *);
|
||||
static char *_conv(int, const char *, char *, const char *);
|
||||
static char *_fmt(const char *, const struct pg_tm *, char *, const char *,
|
||||
enum warn *);
|
||||
enum warn *);
|
||||
static char *_yconv(int, int, bool, bool, char *, char const *);
|
||||
|
||||
|
||||
|
@ -151,9 +151,9 @@ static zic_t oadd(zic_t t1, zic_t t2);
|
||||
static void outzone(const struct zone *zp, ptrdiff_t ntzones);
|
||||
static zic_t rpytime(const struct rule *rp, zic_t wantedy);
|
||||
static void rulesub(struct rule *rp,
|
||||
const char *loyearp, const char *hiyearp,
|
||||
const char *typep, const char *monthp,
|
||||
const char *dayp, const char *timep);
|
||||
const char *loyearp, const char *hiyearp,
|
||||
const char *typep, const char *monthp,
|
||||
const char *dayp, const char *timep);
|
||||
static zic_t tadd(zic_t t1, zic_t t2);
|
||||
static bool yearistype(zic_t year, const char *type);
|
||||
|
||||
@ -304,7 +304,7 @@ struct lookup
|
||||
};
|
||||
|
||||
static struct lookup const *byword(const char *string,
|
||||
const struct lookup *lp);
|
||||
const struct lookup *lp);
|
||||
|
||||
static struct lookup const zi_line_codes[] = {
|
||||
{"Rule", LC_RULE},
|
||||
|
Reference in New Issue
Block a user