mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +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:
@@ -54,9 +54,9 @@ static const char rcsid[] = "Id: inet_net_ntop.c,v 1.1.2.2 2004/03/09 09:17:27 m
|
||||
#endif
|
||||
|
||||
static char *inet_net_ntop_ipv4(const u_char *src, int bits,
|
||||
char *dst, size_t size);
|
||||
char *dst, size_t size);
|
||||
static char *inet_net_ntop_ipv6(const u_char *src, int bits,
|
||||
char *dst, size_t size);
|
||||
char *dst, size_t size);
|
||||
|
||||
|
||||
/*
|
||||
|
@@ -45,7 +45,7 @@
|
||||
#endif
|
||||
|
||||
static void make_relative_path(char *ret_path, const char *target_path,
|
||||
const char *bin_path, const char *my_exec_path);
|
||||
const char *bin_path, const char *my_exec_path);
|
||||
static void trim_directory(char *path);
|
||||
static void trim_trailing_separator(char *path);
|
||||
|
||||
|
@@ -48,7 +48,7 @@
|
||||
|
||||
|
||||
static char *med3(char *a, char *b, char *c,
|
||||
int (*cmp) (const void *, const void *));
|
||||
int (*cmp) (const void *, const void *));
|
||||
static void swapfunc(char *, char *, size_t, int);
|
||||
|
||||
/*
|
||||
|
@@ -48,7 +48,7 @@
|
||||
|
||||
|
||||
static char *med3(char *a, char *b, char *c,
|
||||
qsort_arg_comparator cmp, void *arg);
|
||||
qsort_arg_comparator cmp, void *arg);
|
||||
static void swapfunc(char *, char *, size_t, int);
|
||||
|
||||
/*
|
||||
|
@@ -317,24 +317,24 @@ flushbuffer(PrintfTarget *target)
|
||||
|
||||
|
||||
static bool find_arguments(const char *format, va_list args,
|
||||
PrintfArgValue *argvalues);
|
||||
PrintfArgValue *argvalues);
|
||||
static void fmtstr(const char *value, int leftjust, int minlen, int maxwidth,
|
||||
int pointflag, PrintfTarget *target);
|
||||
int pointflag, PrintfTarget *target);
|
||||
static void fmtptr(void *value, PrintfTarget *target);
|
||||
static void fmtint(long long value, char type, int forcesign,
|
||||
int leftjust, int minlen, int zpad, int precision, int pointflag,
|
||||
PrintfTarget *target);
|
||||
int leftjust, int minlen, int zpad, int precision, int pointflag,
|
||||
PrintfTarget *target);
|
||||
static void fmtchar(int value, int leftjust, int minlen, PrintfTarget *target);
|
||||
static void fmtfloat(double value, char type, int forcesign,
|
||||
int leftjust, int minlen, int zpad, int precision, int pointflag,
|
||||
PrintfTarget *target);
|
||||
int leftjust, int minlen, int zpad, int precision, int pointflag,
|
||||
PrintfTarget *target);
|
||||
static void dostr(const char *str, int slen, PrintfTarget *target);
|
||||
static void dopr_outch(int c, PrintfTarget *target);
|
||||
static void dopr_outchmulti(int c, int slen, PrintfTarget *target);
|
||||
static int adjust_sign(int is_negative, int forcesign, int *signvalue);
|
||||
static int compute_padlen(int minlen, int vallen, int leftjust);
|
||||
static void leading_pad(int zpad, int signvalue, int *padlen,
|
||||
PrintfTarget *target);
|
||||
PrintfTarget *target);
|
||||
static void trailing_pad(int padlen, PrintfTarget *target);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user