aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/copyfromparse.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-11-24 15:43:01 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-11-24 15:43:01 -0500
commitec05bafdbbf474bf0a1416772da31f9f1f27fa1e (patch)
tree03408610d3c7ac183bf02105b87c90ce1059436d /src/backend/commands/copyfromparse.c
parent8818ad5b1557d42cd58e5196fac7084a2389bdad (diff)
downloadpostgresql-ec05bafdbbf474bf0a1416772da31f9f1f27fa1e.tar.gz
postgresql-ec05bafdbbf474bf0a1416772da31f9f1f27fa1e.zip
Put "inline" marker on declarations of inline functions.
I'm having a hard time telling whether the letter of the C standard requires this, but we do have a couple of buildfarm members that throw warnings when this is not done. Oversight in c532d15dd.
Diffstat (limited to 'src/backend/commands/copyfromparse.c')
-rw-r--r--src/backend/commands/copyfromparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/copyfromparse.c b/src/backend/commands/copyfromparse.c
index 2eb08a260ca..b7a37bcdbdf 100644
--- a/src/backend/commands/copyfromparse.c
+++ b/src/backend/commands/copyfromparse.c
@@ -114,8 +114,8 @@ static Datum CopyReadBinaryAttribute(CopyFromState cstate, FmgrInfo *flinfo,
/* Low-level communications functions */
static int CopyGetData(CopyFromState cstate, void *databuf,
int minread, int maxread);
-static bool CopyGetInt32(CopyFromState cstate, int32 *val);
-static bool CopyGetInt16(CopyFromState cstate, int16 *val);
+static inline bool CopyGetInt32(CopyFromState cstate, int32 *val);
+static inline bool CopyGetInt16(CopyFromState cstate, int16 *val);
static bool CopyLoadRawBuf(CopyFromState cstate);
static int CopyReadBinaryData(CopyFromState cstate, char *dest, int nbytes);