mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
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.
This commit is contained in:
parent
8818ad5b15
commit
ec05bafdbb
@ -114,8 +114,8 @@ static Datum CopyReadBinaryAttribute(CopyFromState cstate, FmgrInfo *flinfo,
|
|||||||
/* Low-level communications functions */
|
/* Low-level communications functions */
|
||||||
static int CopyGetData(CopyFromState cstate, void *databuf,
|
static int CopyGetData(CopyFromState cstate, void *databuf,
|
||||||
int minread, int maxread);
|
int minread, int maxread);
|
||||||
static bool CopyGetInt32(CopyFromState cstate, int32 *val);
|
static inline bool CopyGetInt32(CopyFromState cstate, int32 *val);
|
||||||
static bool CopyGetInt16(CopyFromState cstate, int16 *val);
|
static inline bool CopyGetInt16(CopyFromState cstate, int16 *val);
|
||||||
static bool CopyLoadRawBuf(CopyFromState cstate);
|
static bool CopyLoadRawBuf(CopyFromState cstate);
|
||||||
static int CopyReadBinaryData(CopyFromState cstate, char *dest, int nbytes);
|
static int CopyReadBinaryData(CopyFromState cstate, char *dest, int nbytes);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user