Skip to content

Commit ec05baf

Browse files
committed
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 c532d15.
1 parent 8818ad5 commit ec05baf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/copyfromparse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ static Datum CopyReadBinaryAttribute(CopyFromState cstate, FmgrInfo *flinfo,
114114
/* Low-level communications functions */
115115
static int CopyGetData(CopyFromState cstate, void *databuf,
116116
int minread, int maxread);
117-
static bool CopyGetInt32(CopyFromState cstate, int32 *val);
118-
static bool CopyGetInt16(CopyFromState cstate, int16 *val);
117+
static inline bool CopyGetInt32(CopyFromState cstate, int32 *val);
118+
static inline bool CopyGetInt16(CopyFromState cstate, int16 *val);
119119
static bool CopyLoadRawBuf(CopyFromState cstate);
120120
static int CopyReadBinaryData(CopyFromState cstate, char *dest, int nbytes);
121121

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy