summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorTom Lane2019-05-22 17:04:48 +0000
committerTom Lane2019-05-22 17:04:48 +0000
commit8255c7a5eeba8f1a38b7a431c04909bde4f5e67d (patch)
tree50b5b32eaf388701b2714244a10fb23f8d4a2c7c /src/common
parentbe76af171cdb3e7465c4ef234af403f97ad79b7b (diff)
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
Diffstat (limited to 'src/common')
-rw-r--r--src/common/file_utils.c4
-rw-r--r--src/common/ip.c16
2 files changed, 10 insertions, 10 deletions
diff --git a/src/common/file_utils.c b/src/common/file_utils.c
index 3d7a637212b..8b9ebcb314f 100644
--- a/src/common/file_utils.c
+++ b/src/common/file_utils.c
@@ -39,8 +39,8 @@
static int pre_sync_fname(const char *fname, bool isdir);
#endif
static void walkdir(const char *path,
- int (*action) (const char *fname, bool isdir),
- bool process_symlinks);
+ int (*action) (const char *fname, bool isdir),
+ bool process_symlinks);
/*
* Issue fsync recursively on PGDATA and all its contents.
diff --git a/src/common/ip.c b/src/common/ip.c
index 8b56251c968..7897fdc9ffe 100644
--- a/src/common/ip.c
+++ b/src/common/ip.c
@@ -39,14 +39,14 @@
#ifdef HAVE_UNIX_SOCKETS
-static int getaddrinfo_unix(const char *path,
- const struct addrinfo *hintsp,
- struct addrinfo **result);
-
-static int getnameinfo_unix(const struct sockaddr_un *sa, int salen,
- char *node, int nodelen,
- char *service, int servicelen,
- int flags);
+static int getaddrinfo_unix(const char *path,
+ const struct addrinfo *hintsp,
+ struct addrinfo **result);
+
+static int getnameinfo_unix(const struct sockaddr_un *sa, int salen,
+ char *node, int nodelen,
+ char *service, int servicelen,
+ int flags);
#endif