Closed matt335672 closed 3 years ago
@jsorg71 Can you take a look at this?
This looks good to me
Can you merge? I have write permission only on xrdp related repositories but not on NeutrinoRDP.
Otherwise, if you're happy with giving wite access, please give us it.
gcc 5 (and later) default to
-std=gnu11
rather than-std=gnu89
. This chances the way that theinline
keyword is handled by default [gnu.org]This PR marks inline functions which are only used in their own translation units as
static inline
. Without this, the linker is unable to link the project executables, as the affected objects are marked as needing definitions from other translation units.The change is still compatible with gcc 4 (used by RHEL 7 at the time of writing) and has been tested with gcc 10. It is nearly identical to upstream commit FreeRDP/FreeRDP@99492506d803a0f5a761e1efe935ee42115b04ba