Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ec05baf

Browse filesBrowse 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
Copy full SHA for ec05baf

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/backend/commands/copyfromparse.c

Copy file name to clipboardExpand all lines: src/backend/commands/copyfromparse.c
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.